Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 09/06/2015
Components: Document Management, PDF manipulation
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win All
Vote Count: 0
- extracttext from ram:// to ram:// works (good)
- extractimage from ram:// to disk works (good)
- extractimage from ram:// to ram:// throws "Output has not been set!" (bad)
Repro:
<cfscript>
cfdocument(format="pdf", filename="ram://myPDF.pdf", overwrite=true) {writeOutput("page 1<img src='https://prerelease-auth.adobe.com/IMS/resources/img/login2.png'>");}
cfpdf(action="extracttext", source="ram://myPDF.pdf", pages="*", destination="ram://myText.txt", overwrite=true);
writeOutput(fileRead("ram://myText.txt"));//displays "page 1" (good)
cfpdf(action="extractimage", source="ram://myPDF.pdf", pages="*", destination=expandPath("./"), overwrite=true);
cfimage(action="writetobrowser", source=expandPath("./cfpage1Image-0.jpg"));//displays the image (good)
cfpdf(action="extractimage", source="ram://myPDF.pdf", pages="*", destination="ram://", overwrite=true);//throws exception (bad)
cfimage(action="writetobrowser", source="ram://cfpage1Image-0.jpg");
</cfscript>
Actual result:
"page 1" [image] exception
Expected result:
"page 1" [image] [image]
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4050295
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email:
External Test Config: Verified in CF11 Update 5 (build 11,0,05,293506)
Attachments:
Comments: