tracker issue : CF-3282988

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

form scope is missing

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/

Reporter/Name(from Bugbase): Michael Nimer / Michael Nimer (Michael Nimer)

Created: 07/10/2012

Components: Language, Java Integration

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final /

Priority/Frequency: Critical / Most users will encounter

Locale/System: English / Platforms All

Vote Count: 1

I'm not sure if this is a bug or enhancement. But on a form post (servlet doPost()) the FORM and URL scopes are not populated. I know the whole servlet filter chain is not invoked with CFCProxy, but it would be nice for these two scopes to be initialized for every request. 


coldfusion.runtime.UndefinedElementException: Element HTML is undefined in FORM.
	at coldfusion.runtime.CfJspPage.resolveCanonicalName(CfJspPage.java:1752)
	at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1705)
	at coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java:1854)
	at coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java:1833)
	at cfPdfHtmlExample2ecfc1368963017$funcHTMLTOPDF.runFunction(/Users/mnimer/Development/github/palladium/samples/cf10demos/cfcProxyDemos/target/cfcProxyDemos-maven/demos-inf/components/PdfHtmlExample.cfc:20)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:655)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:601)
	at coldfusion.cfc.CFCProxyFilter.invoke(CFCProxyFilter.java:56)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:436)
	at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
	at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
	at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
	at coldfusion.cfc.CFCProxy.doInvoke(CFCProxy.java:325)
	at coldfusion.cfc.CFCProxy.invoke(CFCProxy.java:241)
	at demos.servlet.PdfHtmlExampleServlet.doPost(PdfHtmlExampleServlet.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:851)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:278)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)

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

Watson Bug ID:	3282988

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

Attachments:

  1. July 10, 2012 00:00:00: 1_pdfFormExample.cfc
  2. July 10, 2012 00:00:00: 2_PdfHtmlExampleServlet.java

Comments:

Will be taken up for the next release.
Comment by Rupesh K.
18744 | December 03, 2013 06:17:02 AM GMT
+1 - scopes like FORM and URL should always exist IMO
Vote by External U.
18745 | December 05, 2015 12:52:47 AM GMT