installed extensions which have osgi errors can't be uninstalled

Description

the ESAPI ext doesn’t load due to OSGI errors with express?

  1. the OSGI extension shows up as uninstalled, when I click it to go and install it throws the error below due to <cfoutput encodeFor="html">

  2. any failed to load extensions like this should be in their own section

  3. enabling debugging throws errors when viewing debug logs due to missing encodeForHtml()

  4. why the build is passing? Lucee admin return a 500 on error pages!

 

Lucee.runtime.exp.NativeException: Unable to resolve esapi.extension [53](R 53.0): missing requirement [esapi.extension [53](R 53.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.lucee.esapi)(bundle-version>=2.2.3.10002L)) Unresolved requirements: [[esapi.extension [53](R 53.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.lucee.esapi)(bundle-version>=2.2.3.10002L))]Lucee was not able to download/load the following bundles [org.lucee.esapi:2.2.3.10002L;findbugsAnnotations:3.0.1;]

at lucee.runtime.osgi.OSGiUtil._start(OSGiUtil.java:1276) at lucee.runtime.osgi.OSGiUtil._startIfNecessary(OSGiUtil.java:1217) at lucee.runtime.osgi.OSGiUtil._loadBundle(OSGiUtil.java:525) at lucee.runtime.osgi.OSGiUtil.loadBundle(OSGiUtil.java:503) at lucee.runtime.osgi.OSGiUtil$BundleDefinition.getBundle(OSGiUtil.java:1762) at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:164) at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:153) at lucee.runtime.util.ClassUtilImpl.loadBIF(ClassUtilImpl.java:92) at lucee.runtime.esapi.ESAPIUtil.esapiEncode(ESAPIUtil.java:16) at lucee.runtime.PageContextImpl.writeEncodeFor(PageContextImpl.java:806) at ext_applications_detail_cfm966$cf.call(/admin/ext.applications.detail.cfm:100)

Environment

None

Attachments

2
  • 05 Aug 2022, 06:46 pm
  • 05 Aug 2022, 06:46 pm

Activity

Show:

Details

Assignee

Reporter

Priority

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

Affects versions

Created 5 August 2022 at 18:46
Updated 1 July 2023 at 15:37

Flag notifications