Ha,  I see now, when you use 
https://localhost:58443/content/control/WebSiteCms?webSiteId=CmsSite
and try to edit CMS Site Demo Page 1_1 you get this error message.
But it's not blocking and as soons as you click on the error message, enter something in the decription and validate, the error does not occur anymore

Another rejoicing delightful side effect of Ajax/javascript :D

Jacques

From: "Jacques Le Roux" <[email protected]>
Hi André,

Not sure what you did exactly, could you post the URL? And also the exact 
sequence leading to this error.

Using https://localhost:8443/content/control/EditWebSite?webSiteId=CmsSite
and https://localhost:8443/content/control/UpdateWebSiteContent
and also https://localhost:58443/content/control/WebSiteCms?webSiteId=CmsSite
I tried on Windows with last avialable version of FF (3.5.5), Opera, IE8 and 
Chrome without issues

Jacques

From: "André Herbst" <[email protected]>
Hi,

I have tested this function on a local Linux server as well as on the demo
site with the same result:

<localhost>
An error occured loading editor! : XMLHttpTransport.watchInFlight Error:
[Error:
name: TypeError
message: Statement on line 9856: Type mismatch (usually non-object value
supplied where object required)
stacktrace: n/a; see  opera:config#UserPrefs|Exceptions Have Stacktrace
]

The test included Opera 10, IE 8 and Firefor 3.5.3. Only Firefox is working.

From the log:

2009-12-03 08:41:50,269 (http-0.0.0.0-8443-4) [
ControlServlet.java:137:INFO ] [[[views] Request Begun, encoding=[UTF-8]-
total:0.0,since last(Begin):0.0]]
2009-12-03 08:41:50,346 (http-0.0.0.0-8443-4) [
ConfigXMLReader.java:118:INFO ] controller loaded: 0.0010s, 18 requests, 14
views in
file:/home/ah/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml
2009-12-03 08:41:50,355 (http-0.0.0.0-8443-4) [
ConfigXMLReader.java:118:INFO ] controller loaded: 0.0s, 5 requests, 2 views
in file:/home/ah/ofbiz/applications/commonext/webapp/WEB-INF/controller.xml
2009-12-03 08:41:50,373 (http-0.0.0.0-8443-4) [
ConfigXMLReader.java:118:INFO ] controller loaded: 0.041s, 377 requests, 162
views in jndi:/0.0.0.0/content/WEB-INF/controller.xml
2009-12-03 08:41:50,375 (http-0.0.0.0-8443-4) [
Parameters.java:386:WARN ] Parameters: Invalid chunk ignored.
2009-12-03 08:41:50,381 (http-0.0.0.0-8443-4) [
RequestHandler.java:514:INFO ] [RequestHandler.doRequest]: Response is a
chained request. sessionId=08C4629D0705FD71BAF50C3314C86D60.jvm1
2009-12-03 08:41:50,382 (http-0.0.0.0-8443-4) [
RequestHandler.java:160:INFO ] [RequestHandler]: Chain in place:
requestUri=main overrideViewUri=WebSiteCMSContent
sessionId=08C4629D0705FD71BAF50C3314C86D60.jvm1
2009-12-03 08:41:50,397 (http-0.0.0.0-8443-4) [
RequestHandler.java:733:INFO ] Rendering View [WebSiteCMSContent],
sessionId=08C4629D0705FD71BAF50C3314C86D60.jvm1
2009-12-03 08:41:50,577 (http-0.0.0.0-8443-4) [
ScreenFactory.java:128:INFO ] Got 11 screens in 0.025s from:
file:/home/ah/ofbiz/applications/content/widget/WebSiteScreens.xml
2009-12-03 08:41:50,734 (http-0.0.0.0-8443-4) [
GenericEntity.java:420:WARN ]
---- exception
report ----------------------------------------------------------
=-=-=-=-=-=-=-=-= Database type warning GenericEntity.set =-=-=-=-=-=-=-=-= In
entity field [ContentAssoc.fromDate] set the value passed in
[java.lang.String] is not compatible with the Java type of the field
[java.sql.Timestamp]
Exception: java.lang.Exception
Message: Location of database type warning
---- stack
trace ---------------------------------------------------------------
java.lang.Exception: Location of database type warning
org.ofbiz.entity.GenericEntity.set(GenericEntity.java:420)
org.ofbiz.entity.GenericEntity.set(GenericEntity.java:367)
org.ofbiz.entity.GenericEntity.setAllFields(GenericEntity.java:882)
org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:105)
org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:81)
org.ofbiz.widget.screen.ModelScreenAction$EntityOne.runAction(ModelScreenAction.java:523)
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:118)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:221)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:96)
org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:831)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:550)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:515)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:217)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:83)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:266)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2009-12-03 08:41:50,976 (http-0.0.0.0-8443-4) [
ControlServlet.java:315:INFO ] [[[views] Request Done- total:0.706,since
last([views] Request B...):0.706]]

-André





Reply via email to