You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2009/12/07 17:17:18 UTC
[jira] Reopened: (OFBIZ-2135) Dojo html editor problems
[ 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.