You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by André Herbst <ah...@softmatic.dk> on 2009/12/03 09:04:57 UTC

Edit WebSite CMS For: CMS Web Site [CmsSite] only working with Firefox

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é

Re: Edit WebSite CMS For: CMS Web Site [CmsSite] only working with Firefox

Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks André,

Done,  I think we should try to upgrade Dojo

Jacques
()  ascii ribbon campaign against HTML e-mail
/\  www.asciiribbon.org

From: "André Herbst" <ah...@softmatic.dk>
> Hi Jacques,
>
> I found that this issue has already been reported in Jira but now is in status
> closed:
> http://issues.apache.org/jira/browse/OFBIZ-2135
>
> Maybe it should be reopened instead of creating a new Jira?
>
> -André
>
>
> On Monday den 7. December 2009 10:05:55 Jacques Le Roux wrote:
>> Yes, please André do!
>>
>> Jacques
>> ()  ascii ribbon campaign against HTML e-mail
>> /\  www.asciiribbon.org
>>
>> From: "André Herbst" <ah...@softmatic.dk>
>>
>> > Hi Jacques,
>> >
>> > Just to be sure, you don't see this error with for instance IE on the
>> > Demo Site? Anybody else getting the same error?
>> >
>> > I think we should not accept that this function is only working with FF,
>> > so I suggest to create a Jira issue.
>> >
>> > What do you think?
>> >
>> > -André
>> >
>> > On Sunday den 6. December 2009 00:23:00 Jacques Le Roux wrote:
>> >> Hi André,
>> >>
>> >> I have seen also such problems but in other ways. For intance I worked
>> >> for a client where they prefer to use fckeditor. So I used it in place
>> >> of Dojo htmlarea
>> >> It was not working well in Firefox but perfectly with Chrome (I always
>> >> use last versions) :/ There was other issues with Chrome that were not
>> >> with Chrome.
>> >> Often when I want a good arbiter I use Opera. But it does not fill all
>> >> either :(
>> >>
>> >> The devils is in details and we opened the can of worms... Easier for
>> >> user, worse for programmers... Not sure this will soften one day, too
>> >> much in play behind...
>> >>
>> >> Jacques
>> >> PS : today I'm more worried about that actually
>> >> http://uclue.com/index.php?xq=724. Especially since I have seen
>> >> something on TV about Google and Co plans about their data centers.
>> >>
>> >> Just a little effort
>> >> ()  ascii ribbon campaign against HTML e-mail
>> >> /\  www.asciiribbon.org
>> >>
>> >> From: "André Herbst" <ah...@softmatic.dk>
>> >>
>> >> > Hi Jaques,
>> >> >
>> >> > I get this error from both my local installation (Linux)  and from the
>> >> > demo server:
>> >> > https://demo.ofbiz.org/content/control/WebSiteCms?webSiteId=CmsSite
>> >> >
>> >> > When I under the Web Site CMS Nav click the "CMS Site Demo Home Page"
>> >> > link I get the error in IE and Opera and the RTE box is empty or
>> >> > completely missing when I afterwards click OK to the error box. I Have
>> >> > tested this with Opera and FF from a Suse Linux client and with IE8
>> >> > from a Windows 7 client.
>> >> >
>> >> > With FF the text shows nicely in the RTE box on the lower part of the
>> >> > screen.
>> >> >
>> >> > -André
>> >> >
>> >> > On Thursday den 3. December 2009 13:03:59 Jacques Le Roux wrote:
>> >> >> 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" <ja...@les7arts.com>
>> >> >>
>> >> >> > 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=CmsSit
>> >> >> >e and https://localhost:8443/content/control/UpdateWebSiteContent
>> >> >> > and also
>> >> >> > https://localhost:58443/content/control/WebSiteCms?webSiteId=CmsSit
>> >> >> >e I tried on Windows with last avialable version of FF (3.5.5),
>> >> >> > Opera, IE8 and Chrome without issues
>> >> >> >
>> >> >> > Jacques
>> >> >> >
>> >> >> > From: "André Herbst" <ah...@softmatic.dk>
>> >> >> >
>> >> >> >> 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-cont
>> >> >> >>rol ler .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/controll
>> >> >> >>er. 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.
>> >> >> >>jav a:1 05)
>> >> >> >> org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.
>> >> >> >>jav a:8 1)
>> >> >> >> org.ofbiz.widget.screen.ModelScreenAction$EntityOne.runAction(Mode
>> >> >> >>lSc ree nAction.java:523)
>> >> >> >> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScree
>> >> >> >>nAc tio n.java:118)
>> >> >> >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetStri
>> >> >> >>ng( Mod elScreenWidget.java:221)
>> >> >> >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen
>> >> >> >>.ja va: 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(MacroScreenV
>> >> >> >>iew Han dler.java:104)
>> >> >> >> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.
>> >> >> >>jav a:8 31)
>> >> >> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.j
>> >> >> >>ava
>> >> >> >>
>> >> >> >>:55 0)
>> >> >> >>
>> >> >> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.j
>> >> >> >>ava
>> >> >> >>
>> >> >> >>:51 5)
>> >> >> >>
>> >> >> >> 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(A
>> >> >> >>ppl ica tionFilterChain.java:290)
>> >> >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati
>> >> >> >>onF ilt erChain.java:206)
>> >> >> >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java
>> >> >> >>:26 6)
>> >> >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(A
>> >> >> >>ppl ica tionFilterChain.java:235)
>> >> >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati
>> >> >> >>onF ilt erChain.java:206)
>> >> >> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapp
>> >> >> >>erV alv e.java:233)
>> >> >> >> org.apache.catalina.core.StandardContextValve.invoke(StandardConte
>> >> >> >>xtV alv e.java:175)
>> >> >> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValv
>> >> >> >>e.j ava
>> >> >> >>
>> >> >> >>:128)
>> >> >> >>
>> >> >> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValv
>> >> >> >>e.j ava
>> >> >> >>
>> >> >> >>:102)
>> >> >> >>
>> >> >> >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngine
>> >> >> >>Val ve. java:109)
>> >> >> >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.ja
>> >> >> >>va: 568 )
>> >> >> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.
>> >> >> >>jav a:2 86)
>> >> >> >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.j
>> >> >> >>ava
>> >> >> >>
>> >> >> >>:84 4)
>> >> >> >>
>> >> >> >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.pr
>> >> >> >>oce ss( Http11Protocol.java:583)
>> >> >> >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
>> >> >> >>:44 7) 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é
>
>
> 



Re: Edit WebSite CMS For: CMS Web Site [CmsSite] only working with Firefox

Posted by André Herbst <ah...@softmatic.dk>.
Hi Jacques,

I found that this issue has already been reported in Jira but now is in status 
closed:
http://issues.apache.org/jira/browse/OFBIZ-2135

Maybe it should be reopened instead of creating a new Jira?

-André


On Monday den 7. December 2009 10:05:55 Jacques Le Roux wrote:
> Yes, please André do!
>
> Jacques
> ()  ascii ribbon campaign against HTML e-mail
> /\  www.asciiribbon.org
>
> From: "André Herbst" <ah...@softmatic.dk>
>
> > Hi Jacques,
> >
> > Just to be sure, you don't see this error with for instance IE on the
> > Demo Site? Anybody else getting the same error?
> >
> > I think we should not accept that this function is only working with FF,
> > so I suggest to create a Jira issue.
> >
> > What do you think?
> >
> > -André
> >
> > On Sunday den 6. December 2009 00:23:00 Jacques Le Roux wrote:
> >> Hi André,
> >>
> >> I have seen also such problems but in other ways. For intance I worked
> >> for a client where they prefer to use fckeditor. So I used it in place
> >> of Dojo htmlarea
> >> It was not working well in Firefox but perfectly with Chrome (I always
> >> use last versions) :/ There was other issues with Chrome that were not
> >> with Chrome.
> >> Often when I want a good arbiter I use Opera. But it does not fill all
> >> either :(
> >>
> >> The devils is in details and we opened the can of worms... Easier for
> >> user, worse for programmers... Not sure this will soften one day, too
> >> much in play behind...
> >>
> >> Jacques
> >> PS : today I'm more worried about that actually
> >> http://uclue.com/index.php?xq=724. Especially since I have seen
> >> something on TV about Google and Co plans about their data centers.
> >>
> >> Just a little effort
> >> ()  ascii ribbon campaign against HTML e-mail
> >> /\  www.asciiribbon.org
> >>
> >> From: "André Herbst" <ah...@softmatic.dk>
> >>
> >> > Hi Jaques,
> >> >
> >> > I get this error from both my local installation (Linux)  and from the
> >> > demo server:
> >> > https://demo.ofbiz.org/content/control/WebSiteCms?webSiteId=CmsSite
> >> >
> >> > When I under the Web Site CMS Nav click the "CMS Site Demo Home Page"
> >> > link I get the error in IE and Opera and the RTE box is empty or
> >> > completely missing when I afterwards click OK to the error box. I Have
> >> > tested this with Opera and FF from a Suse Linux client and with IE8
> >> > from a Windows 7 client.
> >> >
> >> > With FF the text shows nicely in the RTE box on the lower part of the
> >> > screen.
> >> >
> >> > -André
> >> >
> >> > On Thursday den 3. December 2009 13:03:59 Jacques Le Roux wrote:
> >> >> 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" <ja...@les7arts.com>
> >> >>
> >> >> > 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=CmsSit
> >> >> >e and https://localhost:8443/content/control/UpdateWebSiteContent
> >> >> > and also
> >> >> > https://localhost:58443/content/control/WebSiteCms?webSiteId=CmsSit
> >> >> >e I tried on Windows with last avialable version of FF (3.5.5),
> >> >> > Opera, IE8 and Chrome without issues
> >> >> >
> >> >> > Jacques
> >> >> >
> >> >> > From: "André Herbst" <ah...@softmatic.dk>
> >> >> >
> >> >> >> 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-cont
> >> >> >>rol ler .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/controll
> >> >> >>er. 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.
> >> >> >>jav a:1 05)
> >> >> >> org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.
> >> >> >>jav a:8 1)
> >> >> >> org.ofbiz.widget.screen.ModelScreenAction$EntityOne.runAction(Mode
> >> >> >>lSc ree nAction.java:523)
> >> >> >> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScree
> >> >> >>nAc tio n.java:118)
> >> >> >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetStri
> >> >> >>ng( Mod elScreenWidget.java:221)
> >> >> >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen
> >> >> >>.ja va: 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(MacroScreenV
> >> >> >>iew Han dler.java:104)
> >> >> >> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.
> >> >> >>jav a:8 31)
> >> >> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.j
> >> >> >>ava
> >> >> >>
> >> >> >>:55 0)
> >> >> >>
> >> >> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.j
> >> >> >>ava
> >> >> >>
> >> >> >>:51 5)
> >> >> >>
> >> >> >> 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(A
> >> >> >>ppl ica tionFilterChain.java:290)
> >> >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati
> >> >> >>onF ilt erChain.java:206)
> >> >> >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java
> >> >> >>:26 6)
> >> >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(A
> >> >> >>ppl ica tionFilterChain.java:235)
> >> >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati
> >> >> >>onF ilt erChain.java:206)
> >> >> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapp
> >> >> >>erV alv e.java:233)
> >> >> >> org.apache.catalina.core.StandardContextValve.invoke(StandardConte
> >> >> >>xtV alv e.java:175)
> >> >> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValv
> >> >> >>e.j ava
> >> >> >>
> >> >> >>:128)
> >> >> >>
> >> >> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValv
> >> >> >>e.j ava
> >> >> >>
> >> >> >>:102)
> >> >> >>
> >> >> >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngine
> >> >> >>Val ve. java:109)
> >> >> >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.ja
> >> >> >>va: 568 )
> >> >> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.
> >> >> >>jav a:2 86)
> >> >> >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.j
> >> >> >>ava
> >> >> >>
> >> >> >>:84 4)
> >> >> >>
> >> >> >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.pr
> >> >> >>oce ss( Http11Protocol.java:583)
> >> >> >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
> >> >> >>:44 7) 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é



Re: Edit WebSite CMS For: CMS Web Site [CmsSite] only working with Firefox

Posted by Jacques Le Roux <ja...@les7arts.com>.
Yes, please André do!

Jacques
()  ascii ribbon campaign against HTML e-mail
/\  www.asciiribbon.org

From: "André Herbst" <ah...@softmatic.dk>
> Hi Jacques,
>
> Just to be sure, you don't see this error with for instance IE on the Demo
> Site? Anybody else getting the same error?
>
> I think we should not accept that this function is only working with FF, so I
> suggest to create a Jira issue.
>
> What do you think?
>
> -André
>
> On Sunday den 6. December 2009 00:23:00 Jacques Le Roux wrote:
>> Hi André,
>>
>> I have seen also such problems but in other ways. For intance I worked for
>> a client where they prefer to use fckeditor. So I used it in place of Dojo
>> htmlarea
>> It was not working well in Firefox but perfectly with Chrome (I always use
>> last versions) :/ There was other issues with Chrome that were not with
>> Chrome.
>> Often when I want a good arbiter I use Opera. But it does not fill all
>> either :(
>>
>> The devils is in details and we opened the can of worms... Easier for user,
>> worse for programmers... Not sure this will soften one day, too much in
>> play behind...
>>
>> Jacques
>> PS : today I'm more worried about that actually
>> http://uclue.com/index.php?xq=724. Especially since I have seen something
>> on TV about Google and Co plans about their data centers.
>>
>> Just a little effort
>> ()  ascii ribbon campaign against HTML e-mail
>> /\  www.asciiribbon.org
>>
>> From: "André Herbst" <ah...@softmatic.dk>
>>
>> > Hi Jaques,
>> >
>> > I get this error from both my local installation (Linux)  and from the
>> > demo server:
>> > https://demo.ofbiz.org/content/control/WebSiteCms?webSiteId=CmsSite
>> >
>> > When I under the Web Site CMS Nav click the "CMS Site Demo Home Page"
>> > link I get the error in IE and Opera and the RTE box is empty or
>> > completely missing when I afterwards click OK to the error box. I Have
>> > tested this with Opera and FF from a Suse Linux client and with IE8 from
>> > a Windows 7 client.
>> >
>> > With FF the text shows nicely in the RTE box on the lower part of the
>> > screen.
>> >
>> > -André
>> >
>> > On Thursday den 3. December 2009 13:03:59 Jacques Le Roux wrote:
>> >> 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" <ja...@les7arts.com>
>> >>
>> >> > 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" <ah...@softmatic.dk>
>> >> >
>> >> >> 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-control
>> >> >>ler .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.jav
>> >> >>a:1 05)
>> >> >> org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.jav
>> >> >>a:8 1)
>> >> >> org.ofbiz.widget.screen.ModelScreenAction$EntityOne.runAction(ModelSc
>> >> >>ree nAction.java:523)
>> >> >> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAc
>> >> >>tio n.java:118)
>> >> >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
>> >> >>Mod elScreenWidget.java:221)
>> >> >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.ja
>> >> >>va: 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(MacroScreenView
>> >> >>Han dler.java:104)
>> >> >> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.jav
>> >> >>a:8 31)
>> >> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java
>> >> >>:55 0)
>> >> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java
>> >> >>:51 5)
>> >> >> 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(Appl
>> >> >>ica tionFilterChain.java:290)
>> >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> >> >>ilt erChain.java:206)
>> >> >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:26
>> >> >>6)
>> >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> >> >>ica tionFilterChain.java:235)
>> >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> >> >>ilt erChain.java:206)
>> >> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>> >> >>alv e.java:233)
>> >> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>> >> >>alv e.java:175)
>> >> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
>> >> >>ava
>> >> >>
>> >> >>:128)
>> >> >>
>> >> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
>> >> >>ava
>> >> >>
>> >> >>:102)
>> >> >>
>> >> >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
>> >> >>ve. java:109)
>> >> >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
>> >> >>568 )
>> >> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
>> >> >>a:2 86)
>> >> >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
>> >> >>:84 4)
>> >> >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
>> >> >>ss( Http11Protocol.java:583)
>> >> >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
>> >> >>7) 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é
>
>
> 



Re: Edit WebSite CMS For: CMS Web Site [CmsSite] only working with Firefox

Posted by André Herbst <ah...@softmatic.dk>.
Hi Jacques,

Just to be sure, you don't see this error with for instance IE on the Demo 
Site? Anybody else getting the same error?

I think we should not accept that this function is only working with FF, so I 
suggest to create a Jira issue.

What do you think?

-André

On Sunday den 6. December 2009 00:23:00 Jacques Le Roux wrote:
> Hi André,
>
> I have seen also such problems but in other ways. For intance I worked for
> a client where they prefer to use fckeditor. So I used it in place of Dojo
> htmlarea
> It was not working well in Firefox but perfectly with Chrome (I always use
> last versions) :/ There was other issues with Chrome that were not with
> Chrome.
> Often when I want a good arbiter I use Opera. But it does not fill all
> either :(
>
> The devils is in details and we opened the can of worms... Easier for user,
> worse for programmers... Not sure this will soften one day, too much in
> play behind...
>
> Jacques
> PS : today I'm more worried about that actually
> http://uclue.com/index.php?xq=724. Especially since I have seen something
> on TV about Google and Co plans about their data centers.
>
> Just a little effort
> ()  ascii ribbon campaign against HTML e-mail
> /\  www.asciiribbon.org
>
> From: "André Herbst" <ah...@softmatic.dk>
>
> > Hi Jaques,
> >
> > I get this error from both my local installation (Linux)  and from the
> > demo server:
> > https://demo.ofbiz.org/content/control/WebSiteCms?webSiteId=CmsSite
> >
> > When I under the Web Site CMS Nav click the "CMS Site Demo Home Page"
> > link I get the error in IE and Opera and the RTE box is empty or
> > completely missing when I afterwards click OK to the error box. I Have
> > tested this with Opera and FF from a Suse Linux client and with IE8 from
> > a Windows 7 client.
> >
> > With FF the text shows nicely in the RTE box on the lower part of the
> > screen.
> >
> > -André
> >
> > On Thursday den 3. December 2009 13:03:59 Jacques Le Roux wrote:
> >> 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" <ja...@les7arts.com>
> >>
> >> > 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" <ah...@softmatic.dk>
> >> >
> >> >> 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-control
> >> >>ler .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.jav
> >> >>a:1 05)
> >> >> org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.jav
> >> >>a:8 1)
> >> >> org.ofbiz.widget.screen.ModelScreenAction$EntityOne.runAction(ModelSc
> >> >>ree nAction.java:523)
> >> >> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAc
> >> >>tio n.java:118)
> >> >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(
> >> >>Mod elScreenWidget.java:221)
> >> >> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.ja
> >> >>va: 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(MacroScreenView
> >> >>Han dler.java:104)
> >> >> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.jav
> >> >>a:8 31)
> >> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java
> >> >>:55 0)
> >> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java
> >> >>:51 5)
> >> >> 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(Appl
> >> >>ica tionFilterChain.java:290)
> >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> >> >>ilt erChain.java:206)
> >> >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:26
> >> >>6)
> >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> >> >>ica tionFilterChain.java:235)
> >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> >> >>ilt erChain.java:206)
> >> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> >> >>alv e.java:233)
> >> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> >> >>alv e.java:175)
> >> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> >> >>ava
> >> >>
> >> >>:128)
> >> >>
> >> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> >> >>ava
> >> >>
> >> >>:102)
> >> >>
> >> >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> >> >>ve. java:109)
> >> >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> >> >>568 )
> >> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> >> >>a:2 86)
> >> >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> >> >>:84 4)
> >> >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
> >> >>ss( Http11Protocol.java:583)
> >> >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
> >> >>7) 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é



Re: Edit WebSite CMS For: CMS Web Site [CmsSite] only working with Firefox

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Jacques Le Roux" <ja...@les7arts.com>
> Hi André,
>
> I have seen also such problems but in other ways. For intance I worked for a client where they prefer to use fckeditor. So I used 
> it in place of Dojo htmlarea
> It was not working well in Firefox but perfectly with Chrome (I always use last versions) :/ There was other issues with Chrome 
> that were not with Chrome.

were not with FF
Jacques

> Often when I want a good arbiter I use Opera. But it does not fill all either :(
>
> The devils is in details and we opened the can of worms... Easier for user, worse for programmers... Not sure this will soften one 
> day, too much in play behind...
>
> Jacques
> PS : today I'm more worried about that actually http://uclue.com/index.php?xq=724. Especially since I have seen something on TV 
> about Google and Co plans about their data centers.
>
> Just a little effort
> ()  ascii ribbon campaign against HTML e-mail
> /\  www.asciiribbon.org
>
> From: "André Herbst" <ah...@softmatic.dk>
>> Hi Jaques,
>>
>> I get this error from both my local installation (Linux)  and from the demo
>> server: https://demo.ofbiz.org/content/control/WebSiteCms?webSiteId=CmsSite
>>
>> When I under the Web Site CMS Nav click the "CMS Site Demo Home Page" link I
>> get the error in IE and Opera and the RTE box is empty or completely missing
>> when I afterwards click OK to the error box. I Have tested this with Opera
>> and FF from a Suse Linux client and with IE8 from a Windows 7 client.
>>
>> With FF the text shows nicely in the RTE box on the lower part of the screen.
>>
>> -André
>>
>>
>> On Thursday den 3. December 2009 13:03:59 Jacques Le Roux wrote:
>>> 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" <ja...@les7arts.com>
>>>
>>> > 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" <ah...@softmatic.dk>
>>> >
>>> >> 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:1
>>> >>05)
>>> >> org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:8
>>> >>1)
>>> >> org.ofbiz.widget.screen.ModelScreenAction$EntityOne.runAction(ModelScree
>>> >>nAction.java:523)
>>> >> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActio
>>> >>n.java:118)
>>> >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
>>> >>elScreenWidget.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(MacroScreenViewHan
>>> >>dler.java:104)
>>> >> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:8
>>> >>31)
>>> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:55
>>> >>0)
>>> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:51
>>> >>5) 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(Applica
>>> >>tionFilterChain.java:290)
>>> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>>> >>erChain.java:206)
>>> >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:266)
>>> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>>> >>tionFilterChain.java:235)
>>> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>>> >>erChain.java:206)
>>> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
>>> >>e.java:233)
>>> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
>>> >>e.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:2
>>> >>86)
>>> >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
>>> >>4)
>>> >> 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é
>>
>>
>>
>
> 



Re: Edit WebSite CMS For: CMS Web Site [CmsSite] only working with Firefox

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi André,

I have seen also such problems but in other ways. For intance I worked for a client where they prefer to use fckeditor. So I used it 
in place of Dojo htmlarea
It was not working well in Firefox but perfectly with Chrome (I always use last versions) :/ There was other issues with Chrome that 
were not with Chrome.
Often when I want a good arbiter I use Opera. But it does not fill all either :(

The devils is in details and we opened the can of worms... Easier for user, worse for programmers... Not sure this will soften one 
day, too much in play behind...

Jacques
PS : today I'm more worried about that actually http://uclue.com/index.php?xq=724. Especially since I have seen something on TV 
about Google and Co plans about their data centers.

Just a little effort
()  ascii ribbon campaign against HTML e-mail
/\  www.asciiribbon.org

From: "André Herbst" <ah...@softmatic.dk>
> Hi Jaques,
>
> I get this error from both my local installation (Linux)  and from the demo
> server: https://demo.ofbiz.org/content/control/WebSiteCms?webSiteId=CmsSite
>
> When I under the Web Site CMS Nav click the "CMS Site Demo Home Page" link I
> get the error in IE and Opera and the RTE box is empty or completely missing
> when I afterwards click OK to the error box. I Have tested this with Opera
> and FF from a Suse Linux client and with IE8 from a Windows 7 client.
>
> With FF the text shows nicely in the RTE box on the lower part of the screen.
>
> -André
>
>
> On Thursday den 3. December 2009 13:03:59 Jacques Le Roux wrote:
>> 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" <ja...@les7arts.com>
>>
>> > 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" <ah...@softmatic.dk>
>> >
>> >> 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:1
>> >>05)
>> >> org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:8
>> >>1)
>> >> org.ofbiz.widget.screen.ModelScreenAction$EntityOne.runAction(ModelScree
>> >>nAction.java:523)
>> >> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActio
>> >>n.java:118)
>> >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
>> >>elScreenWidget.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(MacroScreenViewHan
>> >>dler.java:104)
>> >> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:8
>> >>31)
>> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:55
>> >>0)
>> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:51
>> >>5) 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(Applica
>> >>tionFilterChain.java:290)
>> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>> >>erChain.java:206)
>> >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:266)
>> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>> >>tionFilterChain.java:235)
>> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>> >>erChain.java:206)
>> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
>> >>e.java:233)
>> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
>> >>e.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:2
>> >>86)
>> >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
>> >>4)
>> >> 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é
>
>
> 



Re: Edit WebSite CMS For: CMS Web Site [CmsSite] only working with Firefox

Posted by André Herbst <ah...@softmatic.dk>.
Hi Jaques,

I get this error from both my local installation (Linux)  and from the demo 
server: https://demo.ofbiz.org/content/control/WebSiteCms?webSiteId=CmsSite

When I under the Web Site CMS Nav click the "CMS Site Demo Home Page" link I 
get the error in IE and Opera and the RTE box is empty or completely missing 
when I afterwards click OK to the error box. I Have tested this with Opera 
and FF from a Suse Linux client and with IE8 from a Windows 7 client.

With FF the text shows nicely in the RTE box on the lower part of the screen.

-André


On Thursday den 3. December 2009 13:03:59 Jacques Le Roux wrote:
> 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" <ja...@les7arts.com>
>
> > 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" <ah...@softmatic.dk>
> >
> >> 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:1
> >>05)
> >> org.ofbiz.entity.finder.PrimaryKeyFinder.runFind(PrimaryKeyFinder.java:8
> >>1)
> >> org.ofbiz.widget.screen.ModelScreenAction$EntityOne.runAction(ModelScree
> >>nAction.java:523)
> >> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActio
> >>n.java:118)
> >> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
> >>elScreenWidget.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(MacroScreenViewHan
> >>dler.java:104)
> >> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:8
> >>31)
> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:55
> >>0)
> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:51
> >>5) 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(Applica
> >>tionFilterChain.java:290)
> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> >>erChain.java:206)
> >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:266)
> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> >>tionFilterChain.java:235)
> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> >>erChain.java:206)
> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> >>e.java:233)
> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> >>e.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:2
> >>86)
> >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
> >>4)
> >> 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é



Re: Edit WebSite CMS For: CMS Web Site [CmsSite] only working with Firefox

Posted by Jacques Le Roux <ja...@les7arts.com>.
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" <ja...@les7arts.com>
> 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" <ah...@softmatic.dk>
>> 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é
>>
>
> 



Re: Edit WebSite CMS For: CMS Web Site [CmsSite] only working with Firefox

Posted by Jacques Le Roux <ja...@les7arts.com>.
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" <ah...@softmatic.dk>
> 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é
>