tracker issue : CF-3143543

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

CF 9.0.1 breaks AJAX Tag.

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): ashraf hasan / ashraf hasan (ah_dc)

Created: 03/21/2012

Components: AJAX

Versions: 9.0.1

Failure Type: Non Functioning

Found In Build/Fixed In Build: 9.0.1 /

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Win 2008 Server

Vote Count: 1

Problem Description: After applying CF 9.0.1 patch the ajax tag breaks. The message says error invoking CFC /PIC/Components/PicProxy.cfc: WDDX packet parse error at line 1,column 1 Content is not allowed in prolog.

Steps to Reproduce:

Actual Result:

Expected Result:

Any Workarounds:

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

Watson Bug ID:	3143543

External Customer Info:
External Company:  
External Customer Name: ah_dc
External Customer Email:  
External Test Config: My Hardware and Environment details:



IIS 7

Windows 2008

ColdFusion 9.0.1  Enterprise

Attachments:

  1. December 23, 2013 00:00:00: 1_e.cfm
  2. December 23, 2013 00:00:00: 2_emp.cfc

Comments:

It was working fine with no issues in CF 9. After applying this patch 9.0.1 the CFAJAXPROXY tag is broken. The following is the code: <cfajaxproxy cfc="pic.Components.PicProxy" jsclassname="oPicProxy"> <cfajaxproxy cfc="pic.Components.PicProxy" jsclassname="oPicProxy"> var picProxy = new oPicProxy(); picProxy.setErrorHandler(handleError); picProxy.setCallbackHandler(handleResult); var changeUser = function (userID) { var fm = document.fmUserAdmin; var groupID = fm.listEditGroups(fm.listEditGroups.selectedIndex).value; var sStatus = fm.listStatus(fm.listStatus.selectedIndex).value; if (fm.isProjectManagerEdit.checked == 1) var isManager = "A"; else var isManager = ""; if (fm.isJurisContact.checked == 1) var isJurisContact = "spc"; else var isJurisContact = ""; if (sStatus != "I" && sStatus != "R") { if (groupID == "0") { alert("Please select a group"); return 0; } } var result = picProxy.changeUser(userID, groupID, sStatus, isManager, isJurisContact);
Comment by External U.
20040 | March 21, 2012 01:18:50 PM GMT
I am having the same problem. After apply update CFCs called via CFAjaxProxy all cause the error "WDDX packet parse error at line 1, column 1. Content is not allowed in prolog.."
Vote by External U.
20043 | August 20, 2012 12:02:12 PM GMT
unable to reproduce the issue with 9,0,1,274712 on Windows 2008 / IIS with the attached templates. @ah_dc, the code snippet in the bug report seems to have some missing pieces. Can you please share the complete code, or check out the files I have attached, and suggest changes.
Comment by Piyush K.
20041 | December 23, 2013 01:12:18 AM GMT
closing this. ah_dc, please check my previous comments. Feel free to reopen this if you continue to face this in a CF10 or CF11.
Comment by Piyush K.
20042 | December 03, 2014 01:40:28 AM GMT