tracker issue : CF-3581597

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

When using <cfpdfform> tag on ColdFusion 10 there are various errors thrown pertaining to invalid xml...

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): DOM KIMBELL / DOM KIMBELL (dominque.kimbell)

Created: 06/19/2013

Components: Document Management

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Linux RH Enterprise 6

Vote Count: 1

Problem Description: Using <cfpdfform> tag causes misc. errors when using CF10 with the latest updates running on Linux 
    <cfpdfform source="XXX" action="read" result="XXX" />
    When trying to access result variable, throws error...

    <cfpdfform source="XXX" action="populate" result="XXX" />
    When trying to access result variable, throws error...

Steps to Reproduce: Use <cfpdfform> tag in CF10 running on Linux

Actual Result: Error

Expected Result: Pdf output

Any Workarounds: No workarounds, other than going to a third party solution.

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

Watson Bug ID:	3581597

External Customer Info:
External Company:  
External Customer Name: dominque.kimbell
External Customer Email:  
External Test Config: My Hardware and Environment details: CF10 with all latest updates running on a 64 RHEL 6.4 server

Attachments:

  1. June 20, 2013 00:00:00: 1_sub_form_w9.pdf

Comments:

NOTE: This is actually a repeat of a bug that was submitted in 2012, but was never followed up on... Through my own troubleshooting, I have realized I can get the xmlData back and it dumps just fine.... Unfortunately in CF10, the xml is invalid... Here is an example of the resulting xmlData in CF9.01 that works... <?xml version="1.0" encoding="UTF-8"?><xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"><fields><field name="fax"/><field name="Attention"/><field name="phone"/><field name="Department"/><field name="Department Address"/><field name="Department Address2"/><field name="Vendor #"/><field name="Legal Name"/><field name="SS#1"/><field name="address"/><field name="City"/><field name="State"/><field name="ZIP"/><field name="Address2"/><field name="City2"/><field name="State2"/><field name="ZIP2"/><field name="phone1"/><field name="phone2"/><field name="email"/><field name="Legal Name2"/><field name="BusinessName"/><field name="SS#2"/><field name="EIN1"/><field name="Address3"/><field name="City3"/><field name="State3"/><field name="ZIP3"/><field name="Address4"/><field name="City4"/><field name="State4"/><field name="ZIP4"/><field name="ContactName"/><field name="phone3"/><field name="phone4"/><field name="email1"/><field name="datechange"/><field name="BusinessName2"/><field name="TIN"/><field name="Printed Name"/><field name="Title"/><field name="other"/><field name="business type"/></fields><ids original="24194B518FE3A44E8184207DC127B98C" modified="E23928FA9C91EC42911ABFB6E85F33AC"/></xfdf> Here is the same exact dump on CF10... <?xml version="1.0" encoding="UTF-8"?><xfdf xml:xml:space="preserve"><fields><field name="fax"/><field name="Attention"/><field name="phone"/><field name="Department"/><field name="Department Address"/><field name="Department Address2"/><field name="Vendor #"/><field name="Legal Name"/><field name="SS#1"/><field name="address"/><field name="City"/><field name="State"/><field name="ZIP"/><field name="Address2"/><field name="City2"/><field name="State2"/><field name="ZIP2"/><field name="phone1"/><field name="phone2"/><field name="email"/><field name="Legal Name2"/><field name="BusinessName"/><field name="SS#2"/><field name="EIN1"/><field name="Address3"/><field name="City3"/><field name="State3"/><field name="ZIP3"/><field name="Address4"/><field name="City4"/><field name="State4"/><field name="ZIP4"/><field name="ContactName"/><field name="phone3"/><field name="phone4"/><field name="email1"/><field name="datechange"/><field name="BusinessName2"/><field name="TIN"/><field name="Printed Name"/><field name="Title"/><field name="other"/><field name="business type"/></fields><ids original="24194B518FE3A44E8184207DC127B98C" modified="E23928FA9C91EC42911ABFB6E85F33AC"/></xfdf> See the error? The xml produced by the CF10 server DOES NOT VALIDATE!!! Since the xml is invalid, when you try to covert the XML to a struct, during the read and populate action... It crashes... This is a unfixable bug on my side... I am going to have to go to a third party solution to continue working...
Comment by External U.
15173 | June 19, 2013 12:09:06 PM GMT
@dominque.kimbell Can you please provide an sample pdf which got you this error? I tried to replicate with another pdf in a 32 bit opensuse Update 6,but this worked fine for me. -Viny (Comment added from ex-user id:vnigam)
Comment by Adobe D.
15174 | June 20, 2013 01:29:28 AM GMT
PDF has been attached...
Comment by External U.
15175 | June 20, 2013 11:08:15 AM GMT
Just FYI, by utilizing the base itext classes provided in ColdFusion I was able to replicate my process. So I didn't technically have to use a third party solution! Technically... Any chance you all are going to license the newest version of itext any time soon?
Comment by External U.
15176 | June 20, 2013 11:10:28 AM GMT
@dominque.kimbell Still unable to replicate your issue I used the following code : <cfpdfform action="read" source="sub_form_w9.pdf" XMLdata="abc" /> <cfdump var="#abc#"/> and got the same xml that you have pasted for 901 Im running my server on a 32 bit OpenSuse, ColdFusion Version : 10,0,6,283435 Java : 1.6.0_29 Please check your ColdFusion Version and Java and let me know . -Viny (Comment added from ex-user id:vnigam)
Comment by Adobe D.
15177 | June 20, 2013 11:23:01 PM GMT
This is the System information from the CF10 settings summary System Information Server Details Server Product ColdFusion Version ColdFusion 10,284825 Edition Enterprise Operating System UNIX OS Version 2.6.32-358.11.1.el6.x86_64 Update Level /opt/coldfusion10/cfusionInt/lib/updates/chf10000010.jar Adobe Driver Version 4.1 (Build 0001) NOTE: We are using a 64bit operating system, running a slightly higher version of Coldfusion 10 than you are testing on?. We are also using Java 1.6.0_29.
Comment by External U.
15178 | June 21, 2013 09:32:03 AM GMT
Any word?
Comment by External U.
15179 | June 27, 2013 10:41:04 AM GMT
Working on it. Will let you know -Viny (Comment added from ex-user id:vnigam)
Comment by Adobe D.
15180 | June 28, 2013 12:32:18 AM GMT
I just got this too. I can get the XML, but if I try to parse it is considered invalid XML.
Vote by External U.
15182 | February 01, 2014 10:01:21 AM GMT
Sams issue here, Server info: Server Product ColdFusion Version 10,0,13,287689 Tomcat Version 7.0.23.0 Edition Standard Serial Number 1187-5009-7884-9278-0159-3286 Operating System UNIX OS Version 2.6.32-5-686-bigmem Update Level /opt/coldfusion10/cfusion/lib/updates/chf10000013.jar Adobe Driver Version 4.1 (Build 0001) Java Version 1.6.0_29
Comment by External U.
15181 | February 17, 2014 07:04:03 AM GMT