thirtybees / coreupdater

thirty bees module for updating thirty bees core.
Academic Free License v3.0
0 stars 4 forks source link

PS_VERSION_DB is not updated #19

Open musicpanda opened 2 years ago

musicpanda commented 2 years ago

Under Prestashop you can find the version in the configuration table of the database in the variable PS_VERSION_DB.

I use it sometimes in Prestools. It is also a good place to check dysfunctional shops for the situation where the files and the database are out of sync and have different versions.

The first versions of Thirty Bees set PS_VERSION_DB to 1.6.1.999. In later versions it got the version of Thirty Bees. However, when you upgrade it isn't changed. As there is already another variable PS_INSTALL_VERSION this makes meaningless.

musicpanda commented 2 years ago

Somewhat related: I managed to upgrade a 1.3 shop to bleeding edge and now it says (in settings.inc.php) that I have 1.4. I never heard that that version was released.

therampagerado commented 2 years ago

I think PS_version_DB is backward compatibility only and should not change to the current TB version in any case.

If you update to Stable you will see 1.3 (the latest release). Probably it's some sort of sync issue prevention for Edge, Before that it showed Edge-1.2.xx or something else...

getdatakick commented 2 years ago

PS_VERSION_DB exists for backwards compatibility reasons only, it's not used by core or any native module.

I guess it's a good idea to update its value. Moving this issue to core updater repository