Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-2135

Dojo html editor problems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • Trunk
    • Release Branch 09.04, Trunk
    • content
    • None
    • IE6, Opera 9.63, Safari

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              euronymous Michele Orru
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: