Cannot Downgrade PDF Extension in 5.3.7 in Docker deployments folder.

Description

In Docker, we were able to preconfigure a list of downloaded extensions (.lex files) and bring them into the lucee-server/deploy folder.

On startup, the extension would be loaded, and the current version would be set according to the loaded .lex file.

There's a regression in 5.3.7. That's not happening anymore.

We're running an old PDF extension as well as the following extensions:

pdf-extension-1.0.0.68.lex
lucee.image.extension-1.0.0.35.lex
com.mysql.cj-8.0.19.lex

After loading:

MySQL version 8.0.19 (good)
Image Extension 1.0.0.35 (good)
PDF Extension 1.0.0.81-SNAPSHOT (BAD)

I’ll include a zip file so this can be reproduced.

Environment

None

Activity

Show:
Zac Spitzer
October 28, 2020, 3:01 PM
Edited

?

you can still use the old engine, via this.pdf.type = "classic"; in application.cfc , or <cfdocument type=”modern|classic”> since

Shawn Grigson
October 28, 2020, 3:58 PM

Oh! Another secret feature that’s mentioned nowhere in the docs or in cfdocument.

I’ll check this out and see if it works for our purposes.

Zac Spitzer
October 28, 2020, 4:07 PM

I just added a note to the flying saucer page

the cfdocument page will be auto updated once a stable lucee release is published that includes the PDF extension version (1.0.0.92-SNAPSHOT) or newer

https://github.com/lucee/extension-pdf/blob/master/source/tld/tag.tldx#L221

Shawn Grigson
October 28, 2020, 4:50 PM
Edited

Thank you. I can confirm that using “classic” obviates this issue.

You can close this ticket if you want.

I also appreciate you updating the docs for this…there’s been a handful of things like this that I wished were in the docs. Sometimes in my code I have a references to an LDEV lucee issue in a comment, just to explain where I found, say this.tag.cfdocument.fontdirectory. Although the latter is in the docs now.

Zac Spitzer
October 28, 2020, 4:54 PM

It's still a valid bug tho, you should be able to control which version of extensions you want to use. So we'll leave it open

glad I could help you out!

It's really easy to get involved to help improve the docs....

Assignee

Unassigned

Reporter

Shawn Grigson

Priority

New

Labels

Fix versions

None

Affects versions

Configure