Extension management broken inside CommandBox CLI/JSR-233

Description

All of the following return no results when run from the CLI

This makes it impossible to detect what extensions are installed in the CLI. I can confirm there are extensions installed.

  • The full Lucee.jar was used

  • the deploy log lists all extensions successfully being installed

  • the "lucee-server\context\extensions\installed" folder shows 18 lex files

  • and CFML code such as generating PDF files works fine from the CLI

So the extensions are definitely there, they just don't show up.

I assume it's related, but this call also returns false even though PDFs work

Environment

None

Activity

Show:
Brad Wood
April 20, 2020, 10:23 PM

Yes, this is fair. it would be nice to have the metadata rebuilt, but really it should never go away in the first place! I'm really hoping the change I put in today will prevent that from happening in the future. I have a good feeling, this has been the cause of these "missing" extensions.

Michael Offner
April 21, 2020, 1:52 PM

added a test to Lucee if extension metadata are missing it will set them again. This test happens AFTER startup by the Controler.

This will fix all Lucee version where this meta data got deleted.

Brad Wood
April 21, 2020, 5:56 PM

Thanks again for the help on this one.

Michael Offner
April 27, 2020, 6:34 PM

ok for you to set this to resolved?

Brad Wood
April 27, 2020, 6:36 PM

From my tests so far, everything has been working well. I think we can close this one out. Thanks for the help.

Fixed

Assignee

Michael Offner

Reporter

Brad Wood

Priority

New

Labels

Fix versions

Sprint

None

Affects versions