IMatch updater incorrectly reports "newer version"

Started by Mees Dekker, August 05, 2023, 05:53:05 PM

Previous topic - Next topic

Mees Dekker

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. 


Mario

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.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

thrinn

I think I can reproduce it (I am also on 2023.1.22):
  • The update check works correctly when using Help > Check for Update, telling me that I am already on the last version. 
  • But there is also the dedicated IMatch Update App, normally hidden, which can be found via the App Manager. And the App tells me that there is a newer version available. (EMail address and license key are both the correct ones for IM 2023).

Log file attached. IMATCH6_LOG.zip
Thorsten
Win 10 / 64, IMatch 2018, IMA

thrinn

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


Thorsten
Win 10 / 64, IMatch 2018, IMA

Mario

#4
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).
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

thrinn

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.
Thorsten
Win 10 / 64, IMatch 2018, IMA

Mario

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.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Mees Dekker

I was indeed using the Update App, since that requires only 1 click. Checking via the Help -> Check for updates  takes 2 clicks.