tracker issue : CF-4126471

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

[ANeff] Bug for: action="addstamp" attribute validation bug

| 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

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:

Adding BUG AUDIT TRAIL ********action: updated fieldName: Owner newValue: Blank oldValue: bihani oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-13 13:15:01.0 action: updated fieldName: State newValue: Closed oldValue: Open oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-13 13:15:01.0 action: updated fieldName: Status newValue: Fixed oldValue: ToTest oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-13 13:15:01.0 action: updated fieldName: Reason newValue: Blank oldValue: Fixed oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-13 13:15:01.0 action: updated fieldName: Closed By newValue: bihani oldValue: Blank oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-13 13:15:01.0 action: updated fieldName: Date Closed newValue: 2016-01-13 05:15:01.0 oldValue: Blank oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-13 13:15:01.0 action: updated fieldName: Owner newValue: bihani oldValue: mjain oprid: mjain recordName: RQ_DEFECT timpestamp: 2016-01-12 09:23:08.0 action: updated fieldName: Reason newValue: Fixed oldValue: Blank oprid: mjain recordName: RQ_DEFECT timpestamp: 2016-01-12 09:23:08.0 action: updated fieldName: Status newValue: ToTest oldValue: ToFix oprid: mjain recordName: RQ_DEFECT timpestamp: 2016-01-12 09:23:08.0 action: updated fieldName: Changelist newValue: 297472 oldValue: Blank oprid: mjain recordName: RQ_DEFECT timpestamp: 2016-01-12 09:23:08.0 action: updated fieldName: Fixed By newValue: mjain oldValue: Blank oprid: mjain recordName: RQ_DEFECT timpestamp: 2016-01-12 09:23:08.0 action: updated fieldName: Date Fixed newValue: 2016-01-12 01:23:07.0 oldValue: Blank oprid: mjain recordName: RQ_DEFECT timpestamp: 2016-01-12 09:23:08.0 action: updated fieldName: Dev Assigned newValue: mjain oldValue: uogra oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:45:20.0 action: updated fieldName: Owner newValue: mjain oldValue: uogra oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:45:20.0 action: updated fieldName: Fix By Product Milestone newValue: Gold Master oldValue: Blank oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:43:28.0 action: updated fieldName: Status newValue: ToFix oldValue: Unverified oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:43:28.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:43:28.0 action: updated fieldName: Owner newValue: uogra oldValue: bihani oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:43:28.0 action: updated fieldName: Severity newValue: 2 oldValue: 3 oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:43:28.0 action: updated fieldName: Fix By Milestone newValue: Gold Master oldValue: Blank oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:43:28.0 action: updated fieldName: Priority newValue: 2 oldValue: 0 oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-11 15:43:28.0
Comment by CFwatson U.
4039 | March 09, 2016 02:13:55 AM GMT
Added By: PreRelease User User Name:Aaron Neff Note Added: The forum thread discussing this ticket is: http://prerelease.adobe.com/r/?62614baa65fc4508986cc974c9846650 Please follow-up in that thread, not here in this ticket. Date Added :2016-01-11 07:41:53.0 Added By: PreRelease User User Name:Aaron Neff Note Added: Entered Bug. Date Added :2016-01-11 07:09:37.0
Comment by CFwatson U.
4040 | March 09, 2016 02:13:56 AM GMT