Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong version number in 4.3.2 #438

Closed
stigbd opened this issue Feb 5, 2019 · 8 comments
Closed

Wrong version number in 4.3.2 #438

stigbd opened this issue Feb 5, 2019 · 8 comments

Comments

@stigbd
Copy link
Contributor

stigbd commented Feb 5, 2019

Version of Archi, Operating System

Supposedly Version 4.3.2, but "About Archi" says 4.3.1. Build 201901281101. Windows 64 bit.

Expected Behaviour

After downloading version 4.3.2, version in About Archi should show 4.3.2

Actual Behaviour

Version shows 4.3.1 and when clicking "Check for New Version", system says there is a new version.

Steps to Reproduce the Behaviour

  1. Download Archi 4.3.2 from https://www.archimatetool.com/download/ and install
  2. Open Help. Click "About Archi"
  3. Open Help. Click on "Check for New Version
@jbsarrodie
Copy link
Member

jbsarrodie commented Feb 5, 2019

Mmm, I can reproduce this bug :-(

Edit: @Phillipus BTW could be good if one could either disable this "check for new version" menu entry or force another URL (I use pre-package version or Archi and plugins, so would like more control on upgrade process). Will look at it....

@Phillipus
Copy link
Member

Well. That's easy. I forgot to update the internal version number. ;-) Will be fixed in version 4.3.3.

@jbsarrodie Why disable it? Just don't use it? All it is a simple mechanism - small file with the version number in at the root of the website address. If another URL is used then that file would need to be updated too.

@jbsarrodie
Copy link
Member

Why disable it? Just don't use it?

If only it would be that simple ;-) User usually try to click everywhere, and if they see that a new version is available some of them will download it, install it and then complain that Archi no more work as expected in their organization.

Thinking about it, I suppose I can update a plugin.xml (or similar) to hide the menu entry. I will do some experiments (nothing urgent though).

@Phillipus
Copy link
Member

@jbsarrodie I now have a solution for your problem.

I've put the URL of the update file in an internal preference string. If you set this to blank then the menu item will be disabled. You can also set it to something else.

The defaults are:

updateURL=https://www.archimatetool.com/archi-version.txt
downloadURL=https://www.archimatetool.com/download

So, find the file:

~/path to user storage/Archi4/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.archimatetool.editor.prefs

And set this to blank (or your own URL):

updateURL=

If you set downloadURL to blank it wont ask if you want to download it. Or you can set your own download page URL.

@jbsarrodie
Copy link
Member

I now have a solution for your problem.

You're a genious !

@Phillipus
Copy link
Member

Fixed in Archi 4.3.3.

@jbsarrodie You might want to note the prefs settings above.

@jbsarrodie
Copy link
Member

@jbsarrodie You might want to note the prefs settings above.

I've just tested and it works perfectly. I'm adding it to a wiki page...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants