Bug #5794
closed
- Status changed from Assigned to Feedback
Shouldn't I handle that server-side in the version checker responder ?
- Assignee changed from krileon to beat
Yes to both. The version checker shouldn't error if the installed is higher than the server responds with. If JP cache is out of date for example it would error, if we give them a custom nightly it would error, etc..
- Status changed from Feedback to Assigned
- % Done changed from 0 to 50
CBs side fixed in MR !1021
Version XML on JP still needs to be updated though. Not sure how this is going to work for free users though as it'd tell them to update to a nightly they can't access.
Admin module toggles the Joomla update site on if the version is out of date. Maybe it can also toggle it off when it isn't out of date to prevent it complaining that nightly is out of date?
This could also be fixed by a second CBLibRelease define for the release with $ueConfig['release'] holding the release in config. The release would be used strictly for display and the version for comparisons.
I think that adding anything to $ueConfig is wrong as it's deprecated/obsolete.
The CBLIB define should stay imho the only define as is. But we could have a new `public function version( $format = null )` method in an existing class of CBLib that gives full version information. And use that one instead of CBLIB define wherever we need more than basic semver version.
For B/C CBLib and all 'version' usages must remain untouched. We need a new define to hold the release (this is updated with the parsing script Nick wrote). The new define is set to the config variable 'release'. Release is then used strictly for display purposes. This gives us 100% B/C while still allowing plugin management and configuration to show the version. If a function is added it strictly would be outputting what's already in config.
CBLIBRelease implemented in MR !1023
- Target version changed from CB 2.0.14 to CB 2.0.15
- Target version changed from CB 2.0.15 to CB 2.1
- Status changed from Assigned to Resolved
- % Done changed from 50 to 100
Nightly version checking implemented in MR !1170
- Status changed from Resolved to Closed
Also available in: Atom
PDF