Skip to main content
Scog7743964
Participating Frequently
November 24, 2022
Question

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

  • November 24, 2022
  • 1 reply
  • 933 views

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 has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
November 25, 2022

Hi @Scog7743964 ,

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

Scog7743964
Participating Frequently
November 25, 2022

Appreciate that, @BKBK

- Tim ( aka Scog Mellonhead)

Priyank Shrivastava.
Community Manager
Community Manager
November 29, 2022

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. 

Thanks, Priyank Shrivastava