Skip to main content
Scog7743964
Participating Frequently
Nov 24, 2022 8:58 PM UTC
Question

CF 2021 Update 5 and JDK 11.0.17 Fails using the <cfdocument permissions attribute

After installing Update 5 for CF2021 and updating the JDK from 11.0.14 to 11.0.17

<cfdocument no longers works if the encryption attribute is specified.

 

We've tried document-2021.0.05.330109.jar (two versions, one from the update 1,831kb, and one sent to us from CF Support: 4,233kb)

 

i.e.

<cfdocument
filename = "MyFile.pdf"
format = "PDF"
fontembed = "yes"
mimetype = "text/html"
encryption="128-bit"

permissions = "AllowPrinting,AllowCopy">

My Content

</cfdocument>

Fails with no error message.

 

Removing

encryption="128-bit"

permissions = "AllowPrinting,AllowCopy"

works, although the pdf can then be edited.

 

Good:

<cfdocument
filename = "MyFile.pdf"
format = "PDF"
fontembed = "yes"
mimetype = "text/html" >

My Content

</cfdocument>

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

BKBK
Community Expert
Community Expert
Nov 25, 2022 1:05 PM UTC

Hi @Scog7743964 ,

I do believe it is a bug, and have reported it: https://tracker.adobe.com/#/view/CF-4216050  

Translate
Scog7743964
Participating Frequently
Nov 25, 2022 2:26 PM UTC

Appreciate that, @BKBK

- Tim ( aka Scog Mellonhead)

Translate
Priyank Shrivastava.
Inspiring
Nov 29, 2022 6:27 AM UTC

Hi @Scog7743964 

 

I think we have a patch for this. Can you please send an email to cfsup@adobe.com and request a patch. Please mention this thread. 

Translate
Thanks, Priyank Shrivastava