compiled bytecode references hardwired extension version

Description

when Lucee generates bytecode (which the admin is deployed as) it includes a hardwired reference to the extension bundle version, which Lucee then goes to try and download from the update provider

https://github.com/lucee/Lucee/blob/6.0/core/src/main/java/lucee/runtime/functions/FunctionHandlerPool.java#L59

Environment

None

Activity

Zac Spitzer 
23 September 2022 at 09:27

tested, confirmed that the admin no longer tries to download the older image extension when a new one than bundled is installed

Michael Offner 
23 September 2022 at 09:25

i extended the bundle loader with the option “version set only matters when downloading a bundle“, that way Lucee is happy if it found locally a matching bundle with a different version. Only if nothing is found and it has to download it, it will donload it in the current version and then also use that version.

Michael Offner 
23 September 2022 at 08:31

this is the same for tags

Zac Spitzer 
6 September 2022 at 15:12

this PR avoids the hanging in the admin as it detects the problem and only tries once

Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 6 September 2022 at 14:08
Updated 23 September 2022 at 09:27
Resolved 23 September 2022 at 09:27