USFS-PNW / Fia-Biosum-Manager

User interface and main code repository for Biosum
http://biosum.info/
Other
3 stars 3 forks source link

Add warning when opening projects with an old version of BioSum #289

Closed lbross closed 3 days ago

lbross commented 1 year ago

Check application version and project version. If project is newer than application, pop a warning message asking if the user is sure they want to continue. Any response other than 'yes' will stop the project from opening.

lbross commented 1 year ago

This is done and will be in our next version. Note that it will only help going forward. There is no way to retroactively deploy this to older versions.

jsfried commented 1 year ago

So the next version won't open a project with a version LATER than the next version and so on?

lbross commented 1 year ago

Right. This is as we discussed. But unfortunately we can't fix it retroactively for previous versions that are already in circulation. And it will open the project but it warns you first and you have to click 'yes'. I didn't want to make it a hard stop just in case.

lbross commented 3 days ago

@jsfried: Do you want to test this so we can close it? You need to try to open a v5.10.1 project with v5.11.0. Hopefully straightforward.

jsfried commented 3 days ago

Actually, it was the other way around (open a 5.11.0 project in 5.10.1), which generated an appropriate warning. Thanks!

lbross commented 3 days ago

It's been a long week already. Thank you!