invalid extension version in custom cfconfig is ignored when the extension is bundled

Description

using the following custom cfconfig, with an obviously invalid version number

this is ignored, probably due to the s3 extension also being bundled in the fat jar?

Environment

None

Activity

Zac Spitzer 
9 January 2025 at 12:04

yup, 5.4 won’t be changed, 6.2 is close to the final RC,

now is a really great time to test your code base with 6.2 which is 50% faster than 5.4 for a lot of aspects, helping us catch any remaining bugs

slight follow up for this the reporting of errors with invalid extensions, isn’t quite working as expected

Dan Murphy 
8 January 2025 at 16:54

Thanks for checking . To clarify, you can install non-bundled versions of bundled extensions via the LUCEE_EXTENSIONS env variable, .cfconfig, or /deploy - but all of that was only fixed in 6.1. Is that correct? Nothing in 5.4*, nothing still waiting for 6.2?

Zac Spitzer 
8 January 2025 at 12:12

oops, specified the extension version wrong in the test

this is indeed fixed in 6.1

solution is to upgrade, Lucee 5.4 is in maintenance mode

Zac Spitzer 
8 January 2025 at 11:12
(edited)

We already have coverage for installing newer extensions via /deploy and .CFConfig which both work with 6.1

I’ve added a test checking via Lucee extensions, this is still unresolved

as per below, Lucee 6.2 reports installing both the bundled newer and the older version

Zac Spitzer 
7 January 2025 at 20:24

I'll have to check, I think it might be fixed in 6.1

Unresolved

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 5 July 2024 at 11:03
Updated 9 January 2025 at 12:04