tracker issue : CF-4126475

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

[ANeff] Bug for: action="addstamp" not adding stamp to last page

| 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: Major / Unknown

Locale/System: English / Win All

Vote Count: 0

Listed in the version 2016.0.02.299200 Issues Fixed doc
Related Bugs:
4106314 - Blocking	CT Gibson
CF-4149530 - Similar to


action="addstamp" not adding stamp to last page

Repro:

<cfscript>
  cfhtmltopdf(destination=expandPath('./MyPDF1.pdf'), overwrite=true) {
	  writeOutput(repeatString("PDF 1 Page 1", 425));
	  cfhtmltopdfitem(type="pagebreak");
	  writeOutput(repeatString("PDF 1 Page 2", 425));
  };
  cfhtmltopdf(destination=expandPath('./MyPDF2.pdf'), overwrite=true) {
	  writeOutput(repeatString("PDF 2 Page 1", 425));
	  cfhtmltopdfitem(type="pagebreak");
	  writeOutput(repeatString("PDF 2 Page 2", 425));
  };
  cfpdf(action="merge", destination=expandPath('./MyPDFMerged.pdf'), overwrite=true) {
	  cfpdfparam(source=expandPath('./MyPDF1.pdf'));
	  cfpdfparam(source=expandPath('./MyPDF2.pdf'));
  };
  cfpdf(action="redact", source=expandPath('./MyPDFMerged.pdf'), destination=expandPath('./MyPDFRedacted.pdf'), overwrite=true) {
	  cfpdfparam(wordstoredact=["page"], ignorecase=true, pages="1-4");
  };
  cfpdf(action="addstamp", source=expandPath('./MyPDFRedacted.pdf'), destination=expandPath('./MyPDFStamped.pdf'), overwrite=true) {
	  cfpdfparam(iconname="approved", coordinates="200,300,400,500");
  };
</cfscript>

Actual result: MyPDFStamped.pdf only has a stamp on pages 1-3

Expected result: MyPDFStamped.pdf should have a stamp on all 4 pages

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

Watson Bug ID:	4126475

Bug Grouping Info:
Bug Group ID: BG175019
Bug ID: CF-4126475
Bug relationship: Pending Fix
Product: ColdFusion

Bug Group ID: BG175019
Bug ID: CF-4105649
Bug relationship: Awaiting Fix
Product: ColdFusion

Bug Group ID: BG175019
Bug ID: 4106314
Bug relationship: Pending Fix
Product: CT Gibson

Bug Group ID: BG175019
Bug ID: 4131476
Bug relationship: Awaiting Fix
Product: CT Gibson



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


Bug File Paths:
\\sjshare.corp.adobe.com\Prereleasebugfiles\ColdFusion\12.0\Beta2_v12\4105649\MyPDFStamped.pdf

Attachments:

Comments:

[added a bug group note CF-4126475 : ColdFusion : 2016] : Adding BUG AUDIT TRAIL ********action: updated fieldName: Priority newValue: 3 oldValue: 2 oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-29 13:46:50.0 action: updated fieldName: Fix By Product Milestone newValue: HF2 oldValue: Blank oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-29 13:46:50.0 action: updated fieldName: Fix By Milestone newValue: Post Release oldValue: Blank oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-29 13:46:50.0 action: updated fieldName: Priority newValue: 2 oldValue: 0 oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2016-02-16 15:11:33.0 action: updated fieldName: Reason newValue: ThirdParty oldValue: PRHaveInfo oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-14 09:31:32.0 action: updated fieldName: Status newValue: ToTrack oldValue: ToTrack oprid: prerelease recordName: RQ_DEFECT timpestamp: 2016-01-12 09:32:21.0 action: updated fieldName: State newValue: Open oldValue: Open oprid: prerelease recordName: RQ_DEFECT timpestamp: 2016-01-12 09:32:21.0 action: updated fieldName: Reason newValue: PRHaveInfo oldValue: PRNeedInfo oprid: prerelease recordName: RQ_DEFECT timpestamp: 2016-01-12 09:32:21.0 action: updated fieldName: Status newValue: ToTrack oldValue: Unverified oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-12 08:50:25.0 action: updated fieldName: Reason newValue: PRNeedInfo oldValue: Blank oprid: bihani recordName: RQ_DEFECT timpestamp: 2016-01-12 08:50:25.0
Comment by CFwatson U.
4025 | March 09, 2016 02:14:42 AM GMT
[added a bug group note CF-4126475 : ColdFusion : 2016] : Added By: PreRelease User User Name:Aaron Neff Note Added: Can we please continue discussion here: http://prerelease.adobe.com/r/?1dc3dc9d3f5a4db09ef825b7095c1041 We don't always get notified when Adobe adds comments on tickets. Thanks!, -Aaron Date Added :2016-01-12 09:35:25.0 Added By: PreRelease User User Name:Aaron Neff Note Added: Hi Kailash, Even when action="addstamp" has pages="1-4 or pages="*", it still does not add stamp to last page. The pages attribute is not the issue. It should remain optional b/c defaulting to * is the most useful. Thanks!, -Aaron Date Added :2016-01-12 09:32:20.0 Added By:bihani Note Added: Hi Aaron, We have evaluated this and we are making pages mandatory for both addStamp and Redaction. It should fix this issue as an exception will be thrown if you try to run the code without specifying any page number. Thanks, Kailash Date Added :2016-01-12 08:50:28.0 Added By: PreRelease User User Name:Aaron Neff Note Added: The forum thread discussing this ticket is: http://prerelease.adobe.com/r/?1dc3dc9d3f5a4db09ef825b7095c1041 Please follow-up in that thread, not here in this ticket. Date Added :2016-01-11 07:28:35.0 Added By: PreRelease User User Name:Aaron Neff Note Added: Attached is the generated MyPDFStamped.pdf. Date Added :2016-01-11 06:13:16.0 Added By: PreRelease User User Name:Aaron Neff Note Added: Entered Bug. Date Added :2016-01-11 06:10:15.0
Comment by CFwatson U.
4026 | March 09, 2016 02:14:44 AM GMT
test note
Comment by CFwatson U.
4027 | June 07, 2016 04:18:27 AM GMT
The fix for this bug is available as part of the early-access build for ColdFusion 2016 Update 2.
Comment by CFwatson U.
4028 | June 07, 2016 04:25:08 AM GMT