Database updates

Ask other users about problems encountered with portable apps or help by posting solutions to existing problems.

Moderators: usdcs, Andrew Lee, webfork

Post Reply
Message
Author
User avatar
Ennovy
Posts: 423
Joined: Mon Mar 12, 2007 5:21 am
Location: The Netherlands

Database updates

#1 Post by Ennovy » Tue Jan 10, 2017 10:42 am

It happened before, that when I update an entry in the database the What's new field is emptied, also when nothing has changed in that field.
Sometimes I add one character (space) at the end of a line, thinking to prevent this, but that doesn't help.
For instance PhraseExpress that I updated today https://www.portablefreeware.com/index.php?id=2208
Please click on the update history and you wil see that I often had to enter the data in this field again.
Can anyone confirm this?
Hope that I explained the problem correctly in english :)
Tough times never last but tough people do
-- Robert H. Schuller --

billon
Posts: 544
Joined: Sat Jun 23, 2012 4:28 pm

Re: Database updates

#2 Post by billon » Tue Jan 10, 2017 1:18 pm

Yes, when version only changed but nothing changed in the "What's new?" field, change-log disappears

User avatar
Checker
Posts: 1623
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Database updates

#3 Post by Checker » Tue Jan 10, 2017 3:11 pm

@Ennovy: An update of the version number always clears the "what's new?"-field.
Simply copy the text and paste it into the field with a second change if you want it unchanged.

User avatar
Ennovy
Posts: 423
Joined: Mon Mar 12, 2007 5:21 am
Location: The Netherlands

Re: Database updates

#4 Post by Ennovy » Tue Jan 10, 2017 11:49 pm

Checker wrote:Simply copy the text and paste it into the field with a second change if you want it unchanged.
That's what I am doing already, but I thought it was a bug or something.
Tough times never last but tough people do
-- Robert H. Schuller --

User avatar
Andrew Lee
Posts: 2196
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Database updates

#5 Post by Andrew Lee » Wed Jan 11, 2017 3:30 am

I have verified that this is indeed the implemented behaviour and not a bug. The idea being if it's a new version, the old changelog shouldn't apply and should be cleared.

The logic is this: If (new version not equal old version) and (new changelog equals old changelog), clear changelog.

If this behaviour is undesirable, it can be disabled. But I thought it's pretty reasonable to ensure the old changelog does not persist if the version number is updated.

User avatar
Ennovy
Posts: 423
Joined: Mon Mar 12, 2007 5:21 am
Location: The Netherlands

Re: Database updates

#6 Post by Ennovy » Wed Jan 11, 2017 3:56 am

Andrew Lee wrote:I have verified that this is indeed the implemented behaviour and not a bug. The idea being if it's a new version, the old changelog shouldn't apply and should be cleared.

The logic is this: If (new version not equal old version) and (new changelog equals old changelog), clear changelog.

If this behaviour is undesirable, it can be disabled. But I thought it's pretty reasonable to ensure the old changelog does not persist if the version number is updated.
I understand the reason of this behaviour and the logic. IMHO you don't have to disable it.
Thanks for clarifying!
Tough times never last but tough people do
-- Robert H. Schuller --

User avatar
lintalist
Posts: 174
Joined: Sat Apr 19, 2014 12:52 am
Contact:

Re: Database updates

#7 Post by lintalist » Mon Jan 01, 2018 1:00 am

Andrew Lee wrote:But I thought it's pretty reasonable to ensure the old changelog does not persist if the version number is updated.
As everyone knows billon does great work with all his updates of course. Just a thought: from what I see is that the "changelog" link is often pretty standard, it doesn't change for some programs. Perhaps adding a checkbox next to "What's new?" to "not erase content" or "make it permalink" or something like that.

In such a case it would simply reuse the content from What's new? that is already there avoiding the need to recopy the info.
Perhaps to complicated or confusing but I thought I'd suggest it.

Happy New Year!

User avatar
webfork
Posts: 7592
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Database updates

#8 Post by webfork » Mon Jan 01, 2018 8:50 am

lintalist wrote:Just a thought
That's a really good idea.
Supporting Net Neutrality - BattleForTheNet | Why this matters | More from EFF.org

User avatar
Andrew Lee
Posts: 2196
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Database updates

#9 Post by Andrew Lee » Mon Jan 01, 2018 12:54 pm

lintalist wrote:
Andrew Lee wrote:But I thought it's pretty reasonable to ensure the old changelog does not persist if the version number is updated.
As everyone knows billon does great work with all his updates of course. Just a thought: from what I see is that the "changelog" link is often pretty standard, it doesn't change for some programs. Perhaps adding a checkbox next to "What's new?" to "not erase content" or "make it permalink" or something like that.
Great idea! I will add this into the new code so it will be available after we make the migration.

User avatar
Checker
Posts: 1623
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Database updates

#10 Post by Checker » Mon Jan 01, 2018 4:21 pm

Great !
I realy missed that feature.
Image

User avatar
webfork
Posts: 7592
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Database updates

#11 Post by webfork » Mon Jan 01, 2018 6:15 pm

Andrew Lee wrote:Great idea! I will add this into the new code so it will be available after we make the migration.
Great stuff, thanks.
Supporting Net Neutrality - BattleForTheNet | Why this matters | More from EFF.org

Post Reply