tracker issue : CF-3041885

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

Bug 83819:WDDX fails to parse a form object correctly when one of the fields contains an &

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Fred Valone / Fred Valone (frederickvalone)

Created: 08/13/2010

Components: Language, WDDX Serialization

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Solaris All

Vote Count: 0

Problem:

WDDX fails to parse a form object correctly when one of the fields contains an &
Method:

create a form with a few fields one of them a textarea. Enter a string in the textarea that has an &.Try to serialize and then deserrialize the form on the submit page
Result:

Error: WDDX packet parse error at line 1, column 1994. The entity name must immediately follow the '&' in the entity reference..    * Your Location: 192.168.21.106    * Your Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6    * Page with error: /classified/search/index.cfm    * Query String:    * Date and Time the Error Occurred: 13-Aug-2010 09:05:00 AM    * Page You Came From: http://wstage.akc.org/classified/search/index.cfm    * Message Content:      WDDX packet parse error at line 1, column 1994. The entity name must immediately follow the '&' in the entity reference..      The error occurred on line 103.Variables:    * CFID:1482171    * CFTOKEN: 774fa2f512e6672d-F51B8973-C5C6-F71C-14446B3E9E2A0D8A    * HTTP HOST: wstage.akc.org    * SERVER: wstage1    * DATASOURCE: ecoms    * ROOT CAUSE: coldfusion.wddx.WddxDeserializationException: WDDX packet parse error at line 1, column 1994. The entity name must immediately follow the '&' in the entity reference..    * ERROR TYPE: coldfusion.runtime.CfErrorWrapper    * TAG CONTEXT:      1 CFWDDX (103,0) /akcapps/web.nfs/akc/htdocs/classified/search/index.cfmStack Trace:coldfusion.wddx.WddxDeserializationException: WDDX packet parse error at line 1, column 1994. The entity name must immediately follow the '&' in the entity reference.. at coldfusion.wddx.DeserializerWorker.throwSAXException(DeserializerWorker.java:359) at coldfusion.wddx.DeserializerWorker.fatalError(DeserializerWorker.java:245) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at coldfusion.wddx.DeserializerWorker.deserialize(DeserializerWorker.java:268) at coldfusion.wddx.WddxDeserializer.deserialize(WddxDeserializer.java:96) at coldfusion.tagext.lang.WddxTag.deserialize(WddxTag.java:266) at coldfusion.tagext.lang.WddxTag.doStartTag(WddxTag.java:145) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722) at cfindex2ecfm1920380131.runPage(/akcapps/web.nfs/akc/htdocs/classified/search/index.cfm:103) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:363) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:87) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126) at coldfusion.CfmServlet.service(CfmServlet.java:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:6

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

Watson Bug ID:	3041885

External Customer Info:
External Company:  
External Customer Name: Fred Valone
External Customer Email: 3D06048E4460A870992016B6
External Test Config: 08/13/2010

Attachments:

Comments: