tracker issue : CF-4126470

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] Bug for: cfpdfparam exception incorrect

| View in Tracker

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

cfpdfparam displays invalid attribute combinations in its exception message

Repro:

<cfscript>
  cfhtmltopdf(destination=expandPath('./MyPDFToStamp.pdf'), overwrite=true) {writeOutput("my PDF");};
  cfpdf(action="addstamp", source=expandPath('./MyPDFToStamp.pdf'), destination=expandPath('./MyPDFStamped.pdf'), overwrite=true) {
	  cfpdfparam(iconname="approved", coordinate="200,300,400,500");//this will throw an exception b/c "coordinate" should be "coordinates"
  };
</cfscript>

Actual result:

--------------------------------------------
Attribute validation error for CFPDFPARAM tag in cfscript.
It has an invalid attribute combination: iconname. Possible combinations are:
Required attributes: 'coordinates,'. Optional attributes: 'content,iconname,ignorecase,pages,wordstoredact'.
Required attributes: None. Optional attributes: 'coordinates,ignorecase,pages,wordstoredact'.
Required attributes: 'source'. Optional attributes: 'description,encoding,filename,mimetype'.
Required attributes: None. Optional attributes: 'pages,password,ignorecase,source,wordstoredact'. 
--------------------------------------------

1st combination is for action="addstamp"
2nd combination is for action="redact"
3rd combination is for action="addattachments"
4th combination is for action="merge"

Expected result:

--------------------------------------------
Attribute validation error for CFPDFPARAM tag in cfscript.
It has an invalid attribute combination: iconname. Possible combinations are:
Required attributes: 'coordinates,'. Optional attributes: 'iconname,ignorecase,pages,wordstoredact'.
Required attributes: None. Optional attributes: 'coordinates,ignorecase,pages,wordstoredact'.
Required attributes: 'source'. Optional attributes: 'description,encoding,filename,mimetype'.
Required attributes: 'source'. Optional attributes: 'pages,password'. 
--------------------------------------------

Issues:
1) The "content" attribute (in 1st combination) is not documented. It should be documented or removed from the above message.
2) The 4th combination (action="merge") should 1) list "source" as required and 2) not list "ignorecase,wordstoredact"

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4126470

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email: adobelabs@itisdesign.com
External Test Config:

Attachments:

Comments:

Adding BUG AUDIT TRAIL ********action: updated fieldName: Reason newValue: Blank oldValue: Fixed oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-13 13:15:18.0 action: updated fieldName: Status newValue: Fixed oldValue: ToTest oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-13 13:15:18.0 action: updated fieldName: State newValue: Closed oldValue: Open oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-13 13:15:18.0 action: updated fieldName: Owner newValue: Blank oldValue: bihani oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-13 13:15:18.0 action: updated fieldName: Closed By newValue: bihani oldValue: Blank oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-13 13:15:18.0 action: updated fieldName: Date Closed newValue: 2016-01-13 05:15:18.0 oldValue: Blank oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-13 13:15:18.0 action: updated fieldName: Fixed By newValue: mjain oldValue: Blank oprid: mjain recordName: RQ_DEFECT timpestamp: 2016-01-12 09:23:25.0 action: updated fieldName: Date Fixed newValue: 2016-01-12 01:23:25.0 oldValue: Blank oprid: mjain recordName: RQ_DEFECT timpestamp: 2016-01-12 09:23:25.0 action: updated fieldName: Owner newValue: bihani oldValue: mjain oprid: mjain recordName: RQ_DEFECT timpestamp: 2016-01-12 09:23:25.0 action: updated fieldName: Reason newValue: Fixed oldValue: Blank oprid: mjain recordName: RQ_DEFECT timpestamp: 2016-01-12 09:23:25.0 action: updated fieldName: Status newValue: ToTest oldValue: ToFix oprid: mjain recordName: RQ_DEFECT timpestamp: 2016-01-12 09:23:25.0 action: updated fieldName: Changelist newValue: 297472 oldValue: Blank oprid: mjain recordName: RQ_DEFECT timpestamp: 2016-01-12 09:23:25.0 action: updated fieldName: Priority newValue: 2 oldValue: 0 oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:45:46.0 action: updated fieldName: Owner newValue: mjain oldValue: uogra oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:45:14.0 action: updated fieldName: Dev Assigned newValue: mjain oldValue: uogra oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:45:14.0 action: updated fieldName: Owner newValue: uogra oldValue: bihani oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:45:05.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:45:05.0 action: updated fieldName: Fix By Milestone newValue: Gold Master oldValue: Blank oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:45:05.0 action: updated fieldName: Fix By Product Milestone newValue: Gold Master oldValue: Blank oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:45:05.0 action: updated fieldName: Status newValue: ToFix oldValue: Unverified oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:45:05.0
Comment by CFwatson U.
4042 | March 09, 2016 02:13:41 AM GMT
Added By: PreRelease User User Name:Aaron Neff Note Added: The forum thread discussing this ticket is: http://prerelease.adobe.com/r/?dc2b958eab9a4c58a19fe0f81c384b8b Please follow-up in that thread, not here in this ticket. Date Added :2016-01-11 08:43:54.0 Added By: PreRelease User User Name:Aaron Neff Note Added: Entered Bug. Date Added :2016-01-11 08:33:32.0
Comment by CFwatson U.
4043 | March 09, 2016 02:13:42 AM GMT