tracker issue : CF-4069951

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

ER: ISDDX() & cfpdf action="processddx" should accept XML objects.

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): / ext-user (Suchika Singh)

Created: 10/07/2015

Components: Document Management, PDF manipulation

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: cf12 /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Win XP All

Vote Count: 1

Problem:
ISDDX() &  cfpdf action="processddx" should accept XML objects.

Method:
<cfdocument format="pdf" filename="#expandPath('./pdfIn.pdf')#" overwrite="true"><cfoutput>#now()#</cfoutput></cfdocument>
<cfxml variable="myDDX3">
<?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns="http://ns.adobe.com/DDX/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ns.adobe.com/DDX/1.0/ coldfusion_ddx.xsd">
  <PDF result="pdfOut">
  	<PageSize width="2in" height="2in" scaleUp="true" />
  	<PDF source="pdfIn" />
  </PDF>
</DDX>
</cfxml>
<cfpdf action="processddx" ddxfile="#myDDX3#" inputfiles="#{pdfIn=expandPath('./pdfIn.pdf')}#" outputfiles="#{pdfOut=expandPath('./myPDF3.pdf')}#" name="myDDXResult3">
<cfset fileWrite(expandPath('./myDDX3.ddx'), myDDX3)>
<cfoutput>#isDDX(myDDX3)# #isDDX(expandPath('./myDDX3.ddx'))#</cfoutput>

Result:
 isDDX(myDDX3) returns NO,should return YES since myDDX3 is valid DDX

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

Watson Bug ID:	4069951

Reason:	NewBug

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments:

+1 - Thanks Suchika for filing this!
Vote by External U.
5648 | October 14, 2015 02:04:04 AM GMT
Confirmed this still isn't fixed. isDDX() still returns false for DDX variables created w/ cfxml. Related ticket: CF-4056840
Comment by Aaron N.
27841 | May 17, 2018 09:05:09 AM GMT