Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 03/09/2016
Components: Document Management
Versions: 2016
Failure Type: Enhancement Request
Found In Build/Fixed In Build: Alpha_v12 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Win All
Vote Count: 0
Using cfpdf archive after addattachments removes attachments, b/c standard="3b" (PDF/A-3b) isn't supported
Repro:
<cfscript>
cfdocument(format="pdf", filename=expandPath('./MyPDF.pdf'), overwrite=true) {writeOutput("my PDF");};
cfdocument(format="pdf", filename=expandPath('./MyPDFAttachment.pdf'), overwrite=true) {writeOutput("my PDF attachment");};
cfpdf(action="addattachments", source=expandPath('./MyPDF.pdf'), destination=expandPath("./MyPDFWithAttachments.pdf"), overwrite=true) {
cfpdfparam(source=expandPath('./MyPDFAttachment.pdf'), filename="MyPDFAttachment.pdf", encoding="UTF-8") {};
};
cfpdf(action="archive", source=expandPath("./MyPDFWithAttachments.pdf"), destination=expandPath("./MyPDFWithAttachmentsArchived.pdf"), standard="2b", overwrite=true);//standard="3b" throws: Standard can be 1b or 2b
</cfscript>
Actual result: standard="3b" isn't supported, so MyPDFWithAttachmentsArchived.pdf does not retain the attachments
Expected result: standard="3b" should be supported, so that MyPDFWithAttachmentsArchived.pdf will retain the attachments
PDF/A-3b supports archiving PDFs w/ attachments - thus standard="3b" needs to be supported so that action="addattachments"+action="archive" can work together.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126627
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email: adobelabs@itisdesign.com
External Test Config:
Attachments:
Comments: