tracker issue : CF-4126625

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

[ANeff] ER for: allow empty string for cfpdfparam description

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 03/09/2016

Components: Document Management

Versions: 2016

Failure Type: Enhancement Request

Found In Build/Fixed In Build: Alpha_v12 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Win All

Vote Count: 0

Currently, cfpdfparam(description="" and cfpdfparam(description=" " throw "The attribute description specified in the CFPDFPARAM tag is either empty or invalid."

Issue: If the description attribute is omitted, then Adobe Acrobat/Reader displays "null" for the description.

Suggestion: It would be nicer (IMO) if we could prevent the "null" from appearing in Acrobat/Reader, by being able to set the cfpdfparam description to an empty string.

Repro:

<cfscript>
  cfdocument(format="pdf", filename=expandPath('./MyPDF.pdf'), overwrite=true) {writeOutput("my PDF");};
  cfdocument(format="pdf", filename=expandPath('./MyPDFAttachment.pdf'), overwrite=true) {writeOutput("my PDF attachment");};
  cfpdf(action="addattachments", source=expandPath('./MyPDF.pdf'), destination=expandPath("./MyPDFWithAttachments.pdf"), overwrite=true) {
	  cfpdfparam(source=expandPath('./MyPDFAttachment.pdf'), filename="MyPDFAttachment.pdf", encoding="UTF-8", description="") {};//throws: coldfusion.tagext.lang.PDFParamTag$EmptyAttributeException: The attribute description specified in the CFPDFPARAM tag is either empty or invalid.
  };
  
  cfdocument(format="pdf", filename=expandPath('./MyPDF.pdf'), overwrite=true) {writeOutput("my PDF");};
  cfdocument(format="pdf", filename=expandPath('./MyPDFAttachment.pdf'), overwrite=true) {writeOutput("my PDF attachment");};
  cfpdf(action="addattachments", source=expandPath('./MyPDF.pdf'), destination=expandPath("./MyPDFWithAttachments.pdf"), overwrite=true) {
	  cfpdfparam(source=expandPath('./MyPDFAttachment.pdf'), filename="MyPDFAttachment.pdf", encoding="UTF-8", description=" ") {};//throws: coldfusion.tagext.lang.PDFParamTag$EmptyAttributeException: The attribute description specified in the CFPDFPARAM tag is either empty or invalid.
  };
</cfscript>

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

Watson Bug ID:	4126625

Reason:	NewBug

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: Status newValue: ToFix oldValue: Unverified oprid: bihani recordName: RQ_DEFECT timpestamp: 2015-12-02 06:09:23.0 action: updated fieldName: Priority newValue: 2 oldValue: 0 oprid: bihani recordName: RQ_DEFECT timpestamp: 2015-12-02 06:09:23.0 action: updated fieldName: Fix By Product Milestone newValue: Alpha oldValue: Blank oprid: bihani recordName: RQ_DEFECT timpestamp: 2015-12-02 06:09:23.0 action: updated fieldName: Reason newValue: NewBug oldValue: Blank oprid: bihani recordName: RQ_DEFECT timpestamp: 2015-12-02 06:09:23.0 action: updated fieldName: Severity newValue: 0 oldValue: 0 oprid: bihani recordName: RQ_DEFECT timpestamp: 2015-12-02 06:09:23.0 action: updated fieldName: Dev Assigned newValue: mjain oldValue: vadiraja oprid: bihani recordName: RQ_DEFECT timpestamp: 2015-12-02 06:09:23.0 action: updated fieldName: Owner newValue: mjain oldValue: bihani oprid: bihani recordName: RQ_DEFECT timpestamp: 2015-12-02 06:09:23.0 action: updated fieldName: Fix By Milestone newValue: Alpha oldValue: Blank oprid: bihani recordName: RQ_DEFECT timpestamp: 2015-12-02 06:09:23.0 action: updated fieldName: Owner newValue: bihani oldValue: suchsing oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-10-27 13:48:04.0 action: updated fieldName: QE Assigned newValue: bihani oldValue: suchsing oprid: suchsing recordName: RQ_DEFECT timpestamp: 2015-10-27 13:48:04.0 action: bulk updated fieldName: QE Assigned newValue: suchsing oldValue: poojain oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-28 06:37:38.0 action: bulk updated fieldName: Owner newValue: suchsing oldValue: poojain oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-28 06:37:38.0 action: updated fieldName: Dev Assigned newValue: vadiraja oldValue: uogra oprid: rukumar recordName: RQ_DEFECT timpestamp: 2015-09-22 05:33:34.0
Comment by CFwatson U.
3693 | March 09, 2016 04:18:44 AM GMT
Added By: PreRelease User User Name:Aaron Neff Note Added: Forum thread for this ticket is: http://prerelease.adobe.com/r/?f5c63452d1dc453caeb2649bc647eba4 Please follow-up in that thread, not here in this ticket. Thanks!, -Aaron Date Added :2015-10-24 05:07:50.0 Added By: PreRelease User User Name:Aaron Neff Note Added: Entered Feature. Date Added :2015-09-22 02:10:24.0
Comment by CFwatson U.
3694 | March 09, 2016 04:18:59 AM GMT