Javascript error with ezoe

Author Message

Mingxing Chen

Tuesday 20 October 2009 7:03:03 pm

Out clients have complained that editing a page takes a very long
time. When I tried to edit the home page, I saw the error message
from FF:

A script on this page may be busy, or it may have stopped responding.
You can stop the script now, or you can continue to see if the script
will complete.

Script:
http://www.domian.com/extension/ezoe/design/standard/javasc
ript/tiny_mce.js:1

Do you know why this is happening? Could it be that the tiny_mce.js
script is corrupted or is not the most up-to-date version?

I saw the version from the js code:

majorVersion:"3",minorVersion:"2.7",releaseDate:"2009-09-22"

All best.

Shinetech is the leader in next generation global application outsourcing. Shinetech combines world class technical skills, recognized expertise in advanced development methodologies and industry experience to deliver results for global enterprises. Shinetech utilizes distributed Agile methods for rapid and precise systems development.
------------------------------------------------------------------------------------------
Blog: http://www.mingxing.me
Email: chenmx@shinetechchina.com

Andy Caiger

Monday 26 October 2009 11:48:11 pm

Actually, the same page behaves differently with different browsers.

With IE8, attempting to edit the page crashes the browser completely.

With Opera 9.64, the online editor seems to take control of the browser and clicking on buttons like 'Disable Editor' or 'Send for publishing' has no effect.

IE8 and Opera don't seem to detect that the tiny_mce.js script has died, whereas Firefox does and correctly offers to stop it.

But why does the tiny_mce.js script have a problem? Is this a bug?

Andy

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.com

André R.

Tuesday 27 October 2009 6:36:21 am

What version are you guys using? (ezoe version)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Mingxing Chen

Tuesday 27 October 2009 7:26:44 pm

Hi André

Thanks for your reply.

The version of ezoe is 5.0.4

Name: eZ Online Editor extension
Version: 5.0.4
Copyright: Copyright (C) 1999-2009 eZ Systems AS
License: GNU General Public License v2.0
Includes the following third-party software:

    * Name : TinyMce Javascript HTML WYSIWYG editor
      Version : 3.2.6
      Copyright : Copyright (C) 2004-2009, Moxiecode Systems AB, All rights reserved.
      License : GNU Lesser General Public License v2.1

Includes the following library:

    * Name : eZ Core, tiny javascript library for ajax and stuff
      Version : 0.96
      Copyright : Copyright (C) 1999-2009 <a href="http://ez.no/">eZ Systems AS</a>
      License : Licensed under the MIT License

Includes the following third-party icons:

    * Name : Tango Icon theme
      Version : 0.8.90
      Copyright : Copyright (C) 1999-2009 http://tango.freedesktop.org/Tango_Icon_Library
      License : Creative Commons Attribution-ShareAlike 2.5

Shinetech is the leader in next generation global application outsourcing. Shinetech combines world class technical skills, recognized expertise in advanced development methodologies and industry experience to deliver results for global enterprises. Shinetech utilizes distributed Agile methods for rapid and precise systems development.
------------------------------------------------------------------------------------------
Blog: http://www.mingxing.me
Email: chenmx@shinetechchina.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.