[jira] Created: (OFBIZ-2135) Dojo html editor problems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)
Dojo html editor problems
-------------------------

                 Key: OFBIZ-2135
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
             Project: OFBiz
          Issue Type: Bug
          Components: content
    Affects Versions: SVN trunk
         Environment: IE6, Opera 9.63, Safari
            Reporter: Michele Orru
            Priority: Critical


The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.

The error is the following:

<demo.hotwaxmedia.com>

An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
name: TypeError
message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
Backtrace:
  Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
    if(_949[i].charAt(1)!="l"){
  Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
    this.open();
  Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
    this.fillInTemplate(args,frag);
  Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
    this.buildRendering(args,_363,_364);
  Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
    var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
  Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
    return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
  Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
    return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
  Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
    var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
  Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
                dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
  Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
                        createEditor(cmsdata.value);
  Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
    _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
  Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
    doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
  Line 1 of unknown script
    dojo.io.XMLHTTPTransport.watchInFlight();

]

The second time the user tries to request the same resource, the error changes in:

An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]


I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.




--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Gray updated OFBIZ-2135:
------------------------------

    Priority: Major  (was: Critical)

> Dojo html editor problems
> -------------------------
>
>                 Key: OFBIZ-2135
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: IE6, Opera 9.63, Safari
>            Reporter: Michele Orru
>
> The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.
> The error is the following:
> <demo.hotwaxmedia.com>
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
> name: TypeError
> message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
> Backtrace:
>   Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     if(_949[i].charAt(1)!="l"){
>   Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.open();
>   Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.fillInTemplate(args,frag);
>   Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.buildRendering(args,_363,_364);
>   Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
>   Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
>   Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
>     return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
>   Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
>   Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
>                 dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
>   Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
>                         createEditor(cmsdata.value);
>   Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
>     _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
>   Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
>   Line 1 of unknown script
>     dojo.io.XMLHTTPTransport.watchInFlight();
> ]
> The second time the user tries to request the same resource, the error changes in:
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]
> I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674054#action_12674054 ]

Jacques Le Roux commented on OFBIZ-2135:
----------------------------------------

Michele,

Do you think it's a common error to dojo library or its usage in OFBiz for the HTML editor ?

> Dojo html editor problems
> -------------------------
>
>                 Key: OFBIZ-2135
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: IE6, Opera 9.63, Safari
>            Reporter: Michele Orru
>
> The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.
> The error is the following:
> <demo.hotwaxmedia.com>
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
> name: TypeError
> message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
> Backtrace:
>   Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     if(_949[i].charAt(1)!="l"){
>   Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.open();
>   Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.fillInTemplate(args,frag);
>   Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.buildRendering(args,_363,_364);
>   Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
>   Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
>   Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
>     return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
>   Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
>   Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
>                 dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
>   Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
>                         createEditor(cmsdata.value);
>   Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
>     _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
>   Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
>   Line 1 of unknown script
>     dojo.io.XMLHTTPTransport.watchInFlight();
> ]
> The second time the user tries to request the same resource, the error changes in:
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]
> I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674643#action_12674643 ]

Michele Orru commented on OFBIZ-2135:
-------------------------------------

Mhh good question Jacques...

well...If you're not using and old version of Dojo, prior to 0.4.1, then it may be an Ofbiz implementation bug.
Looking at the head of /images/dojo/dojo.js I can see "Copyright (c) 2004-2006", no version anyway.

Sincerely I didn't have the material time to check it, because we said to one customer to use only Firefox to edit the contents
of the CMS we made for a few pages...

Anyway, i repeat, if you're not using an old version of dojo, the error statement "message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required) Backtrace:" it is clear...

Take a look at here, it seems to be closed:

http://trac.dojotoolkit.org/ticket/700
http://trac.dojotoolkit.org/ticket/475

we have to investigate..

Michele


> Dojo html editor problems
> -------------------------
>
>                 Key: OFBIZ-2135
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: IE6, Opera 9.63, Safari
>            Reporter: Michele Orru
>
> The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.
> The error is the following:
> <demo.hotwaxmedia.com>
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
> name: TypeError
> message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
> Backtrace:
>   Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     if(_949[i].charAt(1)!="l"){
>   Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.open();
>   Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.fillInTemplate(args,frag);
>   Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.buildRendering(args,_363,_364);
>   Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
>   Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
>   Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
>     return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
>   Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
>   Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
>                 dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
>   Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
>                         createEditor(cmsdata.value);
>   Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
>     _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
>   Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
>   Line 1 of unknown script
>     dojo.io.XMLHTTPTransport.watchInFlight();
> ]
> The second time the user tries to request the same resource, the error changes in:
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]
> I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707843#action_12707843 ]

Jacques Le Roux commented on OFBIZ-2135:
----------------------------------------

Hi Michele,

I just tested on WIndows using r773262 with FF3.0.10 IE8, Opera 9.64,  Safari 3.2.2, Chrome 1.0.154.99 and all works correctly...
Could you please test again with last revision ? Else I think I will close this issue, thouhg before I will certainly test on Linux too...

> Dojo html editor problems
> -------------------------
>
>                 Key: OFBIZ-2135
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: IE6, Opera 9.63, Safari
>            Reporter: Michele Orru
>
> The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.
> The error is the following:
> <demo.hotwaxmedia.com>
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
> name: TypeError
> message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
> Backtrace:
>   Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     if(_949[i].charAt(1)!="l"){
>   Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.open();
>   Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.fillInTemplate(args,frag);
>   Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.buildRendering(args,_363,_364);
>   Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
>   Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
>   Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
>     return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
>   Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
>   Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
>                 dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
>   Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
>                         createEditor(cmsdata.value);
>   Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
>     _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
>   Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
>   Line 1 of unknown script
>     dojo.io.XMLHTTPTransport.watchInFlight();
> ]
> The second time the user tries to request the same resource, the error changes in:
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]
> I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707844#action_12707844 ]

Michele Orru commented on OFBIZ-2135:
-------------------------------------

Hi Jacques

Tomorrow morning I will check it (on macOSx and Linux) on latest trunk and I will let you know.
Thanks

Michele

> Dojo html editor problems
> -------------------------
>
>                 Key: OFBIZ-2135
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: IE6, Opera 9.63, Safari
>            Reporter: Michele Orru
>
> The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.
> The error is the following:
> <demo.hotwaxmedia.com>
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
> name: TypeError
> message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
> Backtrace:
>   Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     if(_949[i].charAt(1)!="l"){
>   Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.open();
>   Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.fillInTemplate(args,frag);
>   Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.buildRendering(args,_363,_364);
>   Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
>   Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
>   Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
>     return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
>   Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
>   Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
>                 dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
>   Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
>                         createEditor(cmsdata.value);
>   Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
>     _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
>   Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
>   Line 1 of unknown script
>     dojo.io.XMLHTTPTransport.watchInFlight();
> ]
> The second time the user tries to request the same resource, the error changes in:
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]
> I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708070#action_12708070 ]

Jacques Le Roux commented on OFBIZ-2135:
----------------------------------------

This works well also on Ubuntu 8.04 + (FF3.0.10 or Opera 9.6)

> Dojo html editor problems
> -------------------------
>
>                 Key: OFBIZ-2135
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: IE6, Opera 9.63, Safari
>            Reporter: Michele Orru
>
> The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.
> The error is the following:
> <demo.hotwaxmedia.com>
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
> name: TypeError
> message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
> Backtrace:
>   Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     if(_949[i].charAt(1)!="l"){
>   Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.open();
>   Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.fillInTemplate(args,frag);
>   Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.buildRendering(args,_363,_364);
>   Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
>   Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
>   Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
>     return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
>   Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
>   Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
>                 dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
>   Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
>                         createEditor(cmsdata.value);
>   Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
>     _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
>   Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
>   Line 1 of unknown script
>     dojo.io.XMLHTTPTransport.watchInFlight();
> ]
> The second time the user tries to request the same resource, the error changes in:
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]
> I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708113#action_12708113 ]

Michele Orru commented on OFBIZ-2135:
-------------------------------------

Everything works fine both on mac OS X leopard 10.5.6 (Firefox 3.0.10, Opera 9.6 and Safari 4).
I've tested it on CentOS too with firefox/opera and clearly is the same as Ubuntu :)

We can consider the issue closed Jacques!

Michele

> Dojo html editor problems
> -------------------------
>
>                 Key: OFBIZ-2135
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: IE6, Opera 9.63, Safari
>            Reporter: Michele Orru
>
> The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.
> The error is the following:
> <demo.hotwaxmedia.com>
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
> name: TypeError
> message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
> Backtrace:
>   Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     if(_949[i].charAt(1)!="l"){
>   Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.open();
>   Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.fillInTemplate(args,frag);
>   Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.buildRendering(args,_363,_364);
>   Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
>   Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
>   Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
>     return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
>   Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
>   Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
>                 dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
>   Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
>                         createEditor(cmsdata.value);
>   Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
>     _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
>   Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
>   Line 1 of unknown script
>     dojo.io.XMLHTTPTransport.watchInFlight();
> ]
> The second time the user tries to request the same resource, the error changes in:
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]
> I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-2135.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk
                   Release Branch 9.04
         Assignee: Jacques Le Roux

Thanks for confirmation Michele

> Dojo html editor problems
> -------------------------
>
>                 Key: OFBIZ-2135
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: IE6, Opera 9.63, Safari
>            Reporter: Michele Orru
>            Assignee: Jacques Le Roux
>             Fix For: Release Branch 9.04, SVN trunk
>
>
> The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.
> The error is the following:
> <demo.hotwaxmedia.com>
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
> name: TypeError
> message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
> Backtrace:
>   Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     if(_949[i].charAt(1)!="l"){
>   Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.open();
>   Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.fillInTemplate(args,frag);
>   Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.buildRendering(args,_363,_364);
>   Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
>   Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
>   Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
>     return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
>   Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
>   Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
>                 dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
>   Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
>                         createEditor(cmsdata.value);
>   Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
>     _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
>   Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
>   Line 1 of unknown script
>     dojo.io.XMLHTTPTransport.watchInFlight();
> ]
> The second time the user tries to request the same resource, the error changes in:
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]
> I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715035#action_12715035 ]

Anurag commented on OFBIZ-2135:
-------------------------------

hi


I am new in ofbiz and i have a problem in ofbiz which is also describe here.
i want to remove this problem at least in IE .
so please give me the relevant solution.

Regards

Anurag
 
Quoted from:
http://www.nabble.com/-jira--Created%3A-%28OFBIZ-2135%29-Dojo-html-editor-problems-tp21583862p21583862.html



> Dojo html editor problems
> -------------------------
>
>                 Key: OFBIZ-2135
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: IE6, Opera 9.63, Safari
>            Reporter: Michele Orru
>            Assignee: Jacques Le Roux
>             Fix For: Release Branch 9.04, SVN trunk
>
>
> The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.
> The error is the following:
> <demo.hotwaxmedia.com>
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
> name: TypeError
> message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
> Backtrace:
>   Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     if(_949[i].charAt(1)!="l"){
>   Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.open();
>   Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.fillInTemplate(args,frag);
>   Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.buildRendering(args,_363,_364);
>   Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
>   Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
>   Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
>     return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
>   Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
>   Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
>                 dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
>   Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
>                         createEditor(cmsdata.value);
>   Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
>     _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
>   Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
>   Line 1 of unknown script
>     dojo.io.XMLHTTPTransport.watchInFlight();
> ]
> The second time the user tries to request the same resource, the error changes in:
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]
> I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Reopened: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reopened OFBIZ-2135:
------------------------------------


Reopened at [André Herbst's demand|http://markmail.org/message/pu3d4dfyqfuljfdq]

I think upgrading Dojo (if not already done) will be agood thing. I know their new Tree is much better...

> Dojo html editor problems
> -------------------------
>
>                 Key: OFBIZ-2135
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: IE6, Opera 9.63, Safari
>            Reporter: Michele Orru
>            Assignee: Jacques Le Roux
>             Fix For: Release Branch 9.04, SVN trunk
>
>
> The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.
> The error is the following:
> <demo.hotwaxmedia.com>
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
> name: TypeError
> message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
> Backtrace:
>   Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     if(_949[i].charAt(1)!="l"){
>   Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.open();
>   Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.fillInTemplate(args,frag);
>   Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.buildRendering(args,_363,_364);
>   Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
>   Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
>   Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
>     return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
>   Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
>   Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
>                 dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
>   Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
>                         createEditor(cmsdata.value);
>   Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
>     _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
>   Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
>   Line 1 of unknown script
>     dojo.io.XMLHTTPTransport.watchInFlight();
> ]
> The second time the user tries to request the same resource, the error changes in:
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]
> I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788864#action_12788864 ]

Erwan de FERRIERES commented on OFBIZ-2135:
-------------------------------------------

Jacques,

Dojo just released its 1.4 version !

Cheers,

> Dojo html editor problems
> -------------------------
>
>                 Key: OFBIZ-2135
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: IE6, Opera 9.63, Safari
>            Reporter: Michele Orru
>            Assignee: Jacques Le Roux
>             Fix For: Release Branch 9.04, SVN trunk
>
>
> The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.
> The error is the following:
> <demo.hotwaxmedia.com>
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
> name: TypeError
> message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
> Backtrace:
>   Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     if(_949[i].charAt(1)!="l"){
>   Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.open();
>   Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.fillInTemplate(args,frag);
>   Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.buildRendering(args,_363,_364);
>   Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
>   Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
>   Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
>     return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
>   Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
>   Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
>                 dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
>   Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
>                         createEditor(cmsdata.value);
>   Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
>     _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
>   Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
>   Line 1 of unknown script
>     dojo.io.XMLHTTPTransport.watchInFlight();
> ]
> The second time the user tries to request the same resource, the error changes in:
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]
> I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788964#action_12788964 ]

Jacques Le Roux commented on OFBIZ-2135:
----------------------------------------

Erwan,

That's great, do you know if the new (enhanced) tree is compatible with the one we use in CMS? (I guess it's ok, but I have not time to check)
One think we may do is using its new features : dfferents icons on nodes, possibility to get back to current node when editing node related data, more?

Cheers

> Dojo html editor problems
> -------------------------
>
>                 Key: OFBIZ-2135
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: IE6, Opera 9.63, Safari
>            Reporter: Michele Orru
>            Assignee: Jacques Le Roux
>             Fix For: Release Branch 9.04, SVN trunk
>
>
> The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.
> The error is the following:
> <demo.hotwaxmedia.com>
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
> name: TypeError
> message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
> Backtrace:
>   Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     if(_949[i].charAt(1)!="l"){
>   Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.open();
>   Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.fillInTemplate(args,frag);
>   Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.buildRendering(args,_363,_364);
>   Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
>   Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
>   Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
>     return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
>   Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
>   Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
>                 dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
>   Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
>                         createEditor(cmsdata.value);
>   Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
>     _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
>   Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
>   Line 1 of unknown script
>     dojo.io.XMLHTTPTransport.watchInFlight();
> ]
> The second time the user tries to request the same resource, the error changes in:
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]
> I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788969#action_12788969 ]

Jacques Le Roux commented on OFBIZ-2135:
----------------------------------------

Looks good http://docs.dojocampus.org/dijit/Tree

> Dojo html editor problems
> -------------------------
>
>                 Key: OFBIZ-2135
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: IE6, Opera 9.63, Safari
>            Reporter: Michele Orru
>            Assignee: Jacques Le Roux
>             Fix For: Release Branch 9.04, SVN trunk
>
>
> The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.
> The error is the following:
> <demo.hotwaxmedia.com>
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
> name: TypeError
> message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
> Backtrace:
>   Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     if(_949[i].charAt(1)!="l"){
>   Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.open();
>   Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.fillInTemplate(args,frag);
>   Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.buildRendering(args,_363,_364);
>   Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
>   Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
>   Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
>     return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
>   Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
>   Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
>                 dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
>   Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
>                         createEditor(cmsdata.value);
>   Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
>     _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
>   Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
>   Line 1 of unknown script
>     dojo.io.XMLHTTPTransport.watchInFlight();
> ]
> The second time the user tries to request the same resource, the error changes in:
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]
> I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788973#action_12788973 ]

Jacques Le Roux commented on OFBIZ-2135:
----------------------------------------

Mmm, the drag&Drop example does not load (in FF3.5.5 & Opera)

> Dojo html editor problems
> -------------------------
>
>                 Key: OFBIZ-2135
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: IE6, Opera 9.63, Safari
>            Reporter: Michele Orru
>            Assignee: Jacques Le Roux
>             Fix For: Release Branch 9.04, SVN trunk
>
>
> The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.
> The error is the following:
> <demo.hotwaxmedia.com>
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
> name: TypeError
> message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
> Backtrace:
>   Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     if(_949[i].charAt(1)!="l"){
>   Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.open();
>   Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.fillInTemplate(args,frag);
>   Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.buildRendering(args,_363,_364);
>   Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
>   Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
>   Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
>     return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
>   Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
>   Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
>                 dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
>   Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
>                         createEditor(cmsdata.value);
>   Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
>     _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
>   Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
>   Line 1 of unknown script
>     dojo.io.XMLHTTPTransport.watchInFlight();
> ]
> The second time the user tries to request the same resource, the error changes in:
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]
> I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2135) Dojo html editor problems

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-2135.
----------------------------------

    Resolution: Won't Fix

We will replace Dojo (and Prototype) by jQuery

> Dojo html editor problems
> -------------------------
>
>                 Key: OFBIZ-2135
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2135
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>         Environment: IE6, Opera 9.63, Safari
>            Reporter: Michele Orru
>            Assignee: Jacques Le Roux
>             Fix For: Release Branch 09.04, SVN trunk
>
>
> The html editor made with Dojo JS libraries, and present in module content (request URI WebSiteCms) is not working with browsers other than Firefox.
> The error is the following:
> <demo.hotwaxmedia.com>
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:
> name: TypeError
> message: Statement on line 9850: Type mismatch (usually non-object value supplied where object required)
> Backtrace:
>   Line 9850 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     if(_949[i].charAt(1)!="l"){
>   Line 9699 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.open();
>   Line 5236 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.fillInTemplate(args,frag);
>   Line 3924 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     this.buildRendering(args,_363,_364);
>   Line 4144 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var ret=_3a3.create(_3a2,frag,_39e,frag["ns"]);
>   Line 4326 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     return [dojo.widget.buildWidgetFromParseTree(ltn,_3e3,this,null,null,_3e3)];
>   Line 4360 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function fromScript
>     return dojo.widget.getParser().createComponentFromScript(_3f3,name,_3f5,ns);
>   Line 4382 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     var _3f9=fromScript(tn,name.toLowerCase(),_3e8,ns);
>   Line 94 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore: In function createEditor
>                 dojo.widget.createWidget("Editor2", { id: 'w_editor', minHeight: '300px',
>   Line 227 of inline#1 script in https://demo.hotwaxmedia.com/content/control/WebSiteCms?webSiteId=WebStore
>                         createEditor(cmsdata.value);
>   Line 8156 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js: In function doLoad
>     _7d7[(typeof _7d7.load=="function")?"load":"handle"]("load",ret,http,_7d7);
>   Line 8192 of linked script https://demo.hotwaxmedia.com/images/dojo/dojo.js
>     doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
>   Line 1 of unknown script
>     dojo.io.XMLHTTPTransport.watchInFlight();
> ]
> The second time the user tries to request the same resource, the error changes in:
> An error occured loading editor! : XMLHttpTransport.watchInFlight Error: [Error:name: Error message: bad adviceObj for adviceFunc:hide]
> I've tested it on MacOs Leopard 10.5.6 (Safari, Opera 9.63) and Windows (IE6, Opera 9.63): as I've said before, only Firefox works well and without any problem.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.