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: Alpha_v12 /
Priority/Frequency: Minor / Unknown
Locale/System: English / Win All
Vote Count: 0
cfpdf's iconname's value is case-sensitive
Repro:
<cfscript>
cfdocument(format="pdf", filename=expandPath('./MyPDF.pdf'), overwrite="true") {writeOutput("my PDF");};
cfpdf(action="addstamp", source=expandPath('./MyPDF.pdf')) {
//note: iconname="Draft" works but iconname="draft" fails (same issue for all other iconname values)
cfpdfparam(iconname="draft", pages="1", coordinates="100,200,300,400", note="my note") {};//throws: coldfusion.tagext.lang.PDFParamTag$IconNameException: Attribute validation error for iconName in the cfpdfparam tag.
};
</cfscript>
Actual Result: exception is thrown if iconname doesn't match the case of one of the following: Approved, Experimental, NotApproved, AsIs, Expired , NotForPublicRelease, Confidential, Final, Sold, Departmental, ForComment, TopSecret, Draft, ForPublicRelease
Expected Result: the lowercase, uppercase and mixed-case version of the above values should be allowed
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126622
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email: adobelabs@itisdesign.com
External Test Config:
Attachments:
Comments: