PDF Extension RC broken, snapshot works

We just updated from the 5.3.8 production release to the 5.3.9 RC. Everything worked great with the exception of the PDF extension. We’d been on, and all of our cfdocument calls started throwing the below error.

Updating the PDF extension to resolved the problem. Might want to push that to a release so that people don’t try the RC thinking they’re getting the most recent stable build that doesn’t cooperate with the most recent Lucee RC.

Uses constraint violation. Unable to resolve resource pdf.extension [pdf.extension [85](R 85.0)] because it is exposed to package ‘org.apache.fontbox.util’ from resources org.apache.pdfbox.fontbox [org.apache.pdfbox.fontbox [91](R 91.0)] and org.lucee.pdfbox-fontbox [org.lucee.pdfbox-fontbox [78](R 78.0)] via two dependency chains.

Chain 1:
pdf.extension [pdf.extension [85](R 85.0)]
require: (&(osgi.wiring.bundle=org.apache.pdfbox.fontbox)(bundle-version>=1.8.13))
provide: osgi.wiring.bundle: org.apache.pdfbox.fontbox
org.apache.pdfbox.fontbox [org.apache.pdfbox.fontbox [91](R 91.0)]

Chain 2:
pdf.extension [pdf.extension [85](R 85.0)]
require: (&(osgi.wiring.bundle=org.lucee.pdfbox)(bundle-version>=1.8.13))
provide: [org.lucee.pdfbox [93](R 93.0)] osgi.wiring.bundle; {bundle-version=1.8.13, osgi.wiring.bundle=org.lucee.pdfbox}
org.lucee.pdfbox [org.lucee.pdfbox [93](R 93.0)]
import: (osgi.wiring.package=org.apache.fontbox.util)
export: osgi.wiring.package: org.apache.fontbox.util
org.lucee.pdfbox-fontbox [org.lucee.pdfbox-fontbox [78](R 78.0)] Unresolved requirements: [[pdf.extension [85](R 85.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.lucee.pdfbox)(bundle-version>=1.8.13))]

yep, with 5.3.9 it’s recommend to update to all the latest extensions

there were a lot of changes required with getting rid of log4j1 and resolving/removing some inter-dependencies between extensions

Since, we bundle the

When 5.3.9 goes stable, we will bump all the current SNAPSHOT versions to stable.

Sorry about the hassles.

I discussed this with @micstriit, we agreed that Lucee should automatically update any installed extension versions to the version defined by the core on update


1 Like