photools.com Community

IMatch Bug Reports and Feature Requests => Bug Reports => Solved Bug Reports (for next version) => Topic started by: Mees Dekker on August 05, 2023, 05:53:05 PM

Title: IMatch updater incorrectly reports "newer version"
Post by: Mees Dekker on August 05, 2023, 05:53:05 PM
I am currently on the latest release (2023.1.22)

However: when I hit the "IMatch Updater app", it reports to me that there is a newer version available. 

Title: Re: IMatch updater incorrectly reports "newer version"
Post by: Mario on August 05, 2023, 06:03:28 PM
How do you start the Updater?
Does it come up automatically or do you use Help menu > Check for Update?

I cannot reproduce this with a IMatch 2023.1.22 installation on Windows 11.
Please attach the IMatch log file from that session.
The Help > Check for Update command logs the information retrieved when checking for updates.
Title: Re: IMatch updater incorrectly reports "newer version"
Post by: thrinn on August 05, 2023, 06:37:17 PM
I think I can reproduce it (I am also on 2023.1.22):

Log file attached. IMATCH6_LOG.zip
Title: Re: IMatch updater incorrectly reports "newer version"
Post by: thrinn on August 05, 2023, 06:51:08 PM
It might be caused by this lines of code: If Developer Mode is activated (which is the case for me) the installed version is always set to the available version minus 1. Some leftover from testing the Update App?

2023-08-05 18_47_56-IMatch Updater.jpg


Title: Re: IMatch updater incorrectly reports "newer version"
Post by: Mario on August 05, 2023, 07:14:20 PM
This may be the case. Unless a user develops IMatch apps, the developer mode should be off.
Usually I comment this line out, probably I have forgotten it.

But this should only come into play when a user manually starts the updater app while also having the Developer Mode enabled, not when the standard Help > Check for Update command is used (which performs its own check).
Title: Re: IMatch updater incorrectly reports "newer version"
Post by: thrinn on August 06, 2023, 01:43:21 PM
Quote from: Mario on August 05, 2023, 07:14:20 PMBut this should only come into play when a user manually starts the updater app while also having the Developer Mode enabled, not when the standard Help > Check for Update command is used (which performs its own check).
Yes, exactly. I think Mees also referred to the Update App, not the menu entry.
For me, this is a non-issue, because I always use the Help menu entry to check for updates. I even don't recall when I used the dedicated App for the check at all, with the exception of trying to reproduce this bug report.
Title: Re: IMatch updater incorrectly reports "newer version"
Post by: Mario on August 06, 2023, 01:54:37 PM
The Help > Check for Updates is the normal way. And IMatch checks by default once a week and at least every 30 days for updates anyway.

I have commented out the special handling in developer more in the Updater App. I use that for simulating an update when I test the Updater App.
Title: Re: IMatch updater incorrectly reports "newer version"
Post by: Mees Dekker on August 06, 2023, 04:35:53 PM
I was indeed using the Update App, since that requires only 1 click. Checking via the Help -> Check for updates  takes 2 clicks.