Return-Path: Delivered-To: apmail-ofbiz-dev-archive@www.apache.org Received: (qmail 15811 invoked from network); 21 Jan 2009 14:10:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jan 2009 14:10:29 -0000 Received: (qmail 13123 invoked by uid 500); 21 Jan 2009 14:10:27 -0000 Delivered-To: apmail-ofbiz-dev-archive@ofbiz.apache.org Received: (qmail 13114 invoked by uid 500); 21 Jan 2009 14:10:27 -0000 Mailing-List: contact dev-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list dev@ofbiz.apache.org Received: (qmail 13103 invoked by uid 99); 21 Jan 2009 14:10:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2009 06:10:26 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2009 14:10:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C7F13234C4AF for ; Wed, 21 Jan 2009 06:09:59 -0800 (PST) Message-ID: <370432259.1232546999818.JavaMail.jira@brutus> Date: Wed, 21 Jan 2009 06:09:59 -0800 (PST) From: "Michele Orru (JIRA)" To: dev@ofbiz.apache.org Subject: [jira] Created: (OFBIZ-2135) Dojo html editor problems MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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: 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.