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: Unspecified
Found In Build/Fixed In Build: Beta2_v12 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Win All
Vote Count: 0
For action="addstamp", the required attribute 'coordinates' (the only required attribute for that action):
1) throws exception if no other attributes are specified (bug)
2) doesn't throw exception when it is unspecified (bug)
Repro:
<cfscript>
cfhtmltopdf(destination=expandPath('./MyPDF.pdf'), overwrite=true) {writeOutput("my PDF");};
//this should not throw an exception
cfpdf(action="addstamp", source=expandPath('./MyPDF.pdf'), destination=expandPath('./MyPDFStamped1.pdf'), overwrite=true) {
cfpdfparam(coordinates="200,300,400,500");//throws exception (bug b/c 'coordinates' is the only required attribute)
};
//this should throw an exception
cfpdf(action="addstamp", source=expandPath('./MyPDF.pdf'), destination=expandPath('./MyPDFStamped2.pdf'), overwrite=true) {
cfpdfparam(pages="1");//does not throw exception (bug b/c 'coordinates' is a required attribute)
};
</cfscript>
Actual result: The first cfpdfparam throws an exception. The second cfpdfparam doesn't throw an exception.
Expected result: The first cfpdfparam should not throw an exception. The second cfpdfparam should throw an exception.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126471
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email: adobelabs@itisdesign.com
External Test Config:
Attachments:
Comments: