Unresponsive script error on long texts

Bug #900630 reported by Christian Zagrodnick
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Low
JimPGlenn

Bug Description

Oxfam reports (RT80255)

Since the KARL upgrade, I have seen the following error message when I try
to edit longer KARL pages:

This happens on the following pages commonly:

https://karl.oxfam.org.uk/communities/sru4/wiki/internal-external-contacts/
https://karl.oxfam.org.uk/communities/sru4/wiki/internal-contacts/
https://karl.oxfam.org.uk/communities/sru4/wiki/marketing-codes/

Some of these pages have anchors, and some have tables. What links them
all together is that they are long, and that's where we think the error
may be - in editing the longer pages.
It is not a time specific problem - it happens randomly. In addition,
other colleagues in my team have had similar problems, so it isn't an
error with my computer/internet settings.

Thinking it may be a problem with Internet Explorer (and the version we
use here), I tested it in Firefox. It seems to work better (and be more
stable there), but I still get an error message every now and then
(although less regularly than in Internet Explorer):

I don't think it is a problem with the migration or upgrade, but rather a
KARL software bug. In addition, I just wanted to mention that my team's
main information sharing tool is KARL, and everyone is constantly using
the site and editing the pages. With this KARL bug in place, it is making
our ability to share vital information very difficult.

Tags: tested r3.89
Revision history for this message
Christian Zagrodnick (zagy) wrote :
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Balazs, can you take a look at this in time for a production update next week? I suspect any problem they are having will probably show up for OSF as well.

Changed in karl3:
assignee: nobody → Balazs Ree (ree)
importance: Undecided → Medium
milestone: none → m85
Revision history for this message
Balazs Ree (ree) wrote : Re: [Bug 900630] Re: Unresponsive script error on long texts

On Dec 6, 2011, at 3:36 PM, Paul Everitt wrote:

> Balazs, can you take a look at this in time for a production update next
> week? I suspect any problem they are having will probably show up for
> OSF as well.

Yes. What is the exact deadline?

My first hint is something that I learned in another project. It occurs when there are any anchor url in the text (like http://…..#gotothisid) that does not exist as an anchor id. It seems that just a dozen of these urls makes tinymce loading the page longer than minutes (!) on IE, and just annoyingly slow on FF.

This is my #1 hint, so I will check this, and possibly anything else in the content that could cause tinymce load slowly. I expect that once the pages are cleaned up (manually or with code, we'll see) the slowness will disappear.

> ** Changed in: karl3
> Importance: Undecided => Medium
>
> ** Changed in: karl3
> Milestone: None => m85
>
> ** Changed in: karl3
> Assignee: (unassigned) => Balazs Ree (ree)
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/900630
>
> Title:
> Unresponsive script error on long texts
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl3/+bug/900630/+subscriptions

Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 900630] Unresponsive script error on long texts
Download full text (3.1 KiB)

On Dec 6, 2011, at 9:57 AM, Balazs Ree wrote:

> On Dec 6, 2011, at 3:36 PM, Paul Everitt wrote:
>
>> Balazs, can you take a look at this in time for a production update next
>> week? I suspect any problem they are having will probably show up for
>> OSF as well.
>
> Yes. What is the exact deadline?

1 week from this moment.

> My first hint is something that I learned in another project. It occurs
> when there are any anchor url in the text (like http://…..#gotothisid)
> that does not exist as an anchor id. It seems that just a dozen of these
> urls makes tinymce loading the page longer than minutes (!) on IE, and
> just annoyingly slow on FF.

Interesting.

--Paul

> This is my #1 hint, so I will check this, and possibly anything else in
> the content that could cause tinymce load slowly. I expect that once the
> pages are cleaned up (manually or with code, we'll see) the slowness
> will disappear.
>
>
>> ** Changed in: karl3
>> Importance: Undecided => Medium
>>
>> ** Changed in: karl3
>> Milestone: None => m85
>>
>> ** Changed in: karl3
>> Assignee: (unassigned) => Balazs Ree (ree)
>>
>> --
>> You received this bug notification because you are a bug assignee.
>> https://bugs.launchpad.net/bugs/900630
>>
>> Title:
>> Unresponsive script error on long texts
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/karl3/+bug/900630/+subscriptions
>
> --
> You received this bug notification because you are subscribed to KARL3.
> https://bugs.launchpad.net/bugs/900630
>
> Title:
> Unresponsive script error on long texts
>
> Status in KARL3:
> New
>
> Bug description:
> Oxfam reports (RT80255)
>
> Since the KARL upgrade, I have seen the following error message when I try
> to edit longer KARL pages:
>
> This happens on the following pages commonly:
>
> https://karl.oxfam.org.uk/communities/sru4/wiki/internal-external-contacts/
> https://karl.oxfam.org.uk/communities/sru4/wiki/internal-contacts/
> https://karl.oxfam.org.uk/communities/sru4/wiki/marketing-codes/
>
>
> Some of these pages have anchors, and some have tables. What links them
> all together is that they are long, and that's where we think the error
> may be - in editing the longer pages.
> It is not a time specific problem - it happens randomly. In addition,
> other colleagues in my team have had similar problems, so it isn't an
> error with my computer/internet settings.
>
> Thinking it may be a problem with Internet Explorer (and the version we
> use here), I tested it in Firefox. It seems to work better (and be more
> stable there), but I still get an error message every now and then
> (although less regularly than in Internet Explorer):
>
> I don't think it is a problem with the migration or upgrade, but rather a
> KARL software bug. In addition, I just wanted to mention that my team's
> main information sharing tool is KARL, and everyone is constantly using
> the site and editing the pages. With this KARL bug in place, it is making
> our ability to share vital information very difficult.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl3/+bug/900630/+s...

Read more...

Balazs Ree (ree)
Changed in karl3:
status: New → In Progress
Revision history for this message
Balazs Ree (ree) wrote :

It turned out that this was a problem of a different nature then what I described. The editor actually opened fast with these pages, on all IE browsers.

I observed one issue. It only happened on IE7 and not on IE8 or IE9. If I open these pages for editing on IE7, after one minute I am getting the "Stop Script" error. This is an issue that affects all KARL, not only Oxfam.

It turns out that this happens on IE7 consistently, when the autosave plugin tries to do a save (which is happening after 60 seconds after the page load). My solution is to disable the autosave on IE7.

On IE8 and IE9 I did not observe any other Script error. I also don't see a problem with IE7 after my fix. I also cannot comment on the general slowness at this point. There may be more problems then what I fixed, so if there is still a script error, please submit a detailed description.

The fix is on branch: ree-fix-tinymce-autosave-ie7

Changed in karl3:
status: In Progress → Fix Committed
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

The original bug report said that the problem also occurred once on FF.

I'm not sure disabling autosave permanently on the main browser used by OSF and Oxfam is a viable solution. I will have to ask Robert for OSF's opinion on this. I believe they did the original work to wire up autosave.

--Paul

On Dec 11, 2011, at 11:22 AM, Balazs Ree wrote:

> It turned out that this was a problem of a different nature then what I
> described. The editor actually opened fast with these pages, on all IE
> browsers.
>
> I observed one issue. It only happened on IE7 and not on IE8 or IE9. If
> I open these pages for editing on IE7, after one minute I am getting the
> "Stop Script" error. This is an issue that affects all KARL, not only
> Oxfam.
>
> It turns out that this happens on IE7 consistently, when the autosave
> plugin tries to do a save (which is happening after 60 seconds after the
> page load). My solution is to disable the autosave on IE7.
>
> On IE8 and IE9 I did not observe any other Script error. I also don't
> see a problem with IE7 after my fix. I also cannot comment on the
> general slowness at this point. There may be more problems then what I
> fixed, so if there is still a script error, please submit a detailed
> description.
>
> The fix is on branch: ree-fix-tinymce-autosave-ie7
>
> ** Changed in: karl3
> Status: In Progress => Fix Committed
>
> --
> You received this bug notification because you are subscribed to KARL3.
> https://bugs.launchpad.net/bugs/900630
>
> Title:
> Unresponsive script error on long texts
>
> Status in KARL3:
> Fix Committed
>
> Bug description:
> Oxfam reports (RT80255)
>
> Since the KARL upgrade, I have seen the following error message when I try
> to edit longer KARL pages:
>
> This happens on the following pages commonly:
>
> https://karl.oxfam.org.uk/communities/sru4/wiki/internal-external-contacts/
> https://karl.oxfam.org.uk/communities/sru4/wiki/internal-contacts/
> https://karl.oxfam.org.uk/communities/sru4/wiki/marketing-codes/
>
>
> Some of these pages have anchors, and some have tables. What links them
> all together is that they are long, and that's where we think the error
> may be - in editing the longer pages.
> It is not a time specific problem - it happens randomly. In addition,
> other colleagues in my team have had similar problems, so it isn't an
> error with my computer/internet settings.
>
> Thinking it may be a problem with Internet Explorer (and the version we
> use here), I tested it in Firefox. It seems to work better (and be more
> stable there), but I still get an error message every now and then
> (although less regularly than in Internet Explorer):
>
> I don't think it is a problem with the migration or upgrade, but rather a
> KARL software bug. In addition, I just wanted to mention that my team's
> main information sharing tool is KARL, and everyone is constantly using
> the site and editing the pages. With this KARL bug in place, it is making
> our ability to share vital information very difficult.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl3/+bug/900630/+subscriptions

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Robert, assigning to you for a decision on the policy change made in comment #5 by Balazs. That is, disabling autosave for IE7.

Since you guys were the original ones that did the autosave work, you can comment on whether this is a realistic solution.

Changed in karl3:
assignee: Balazs Ree (ree) → Robert Marianski (rmarianski)
status: Fix Committed → In Progress
Revision history for this message
Robert Marianski (rmarianski) wrote :

Is it possible to investigate what about it is slow? IIRC, the plugin tries different storages based on browser/add-ons. It would be better if we didn't disable it for all ie7 users.

Revision history for this message
Nat Katin-Borland (nborland) wrote : RE: [Bug 900630] Re: Unresponsive script error on long texts

I agree with Robert. If it's possible to figure out the problem, then we should try to fix it, especially if there are a lot of Oxfam users who would be affected. I haven't heard any complaints from OSF users yet, but we probably have fewer users still on IE7...

--
Nathaniel Katin-Borland
Support Specialist
Knowledge Management Initiative
KARL Support Team

Open Society Foundations - New York Office
400 West 59th Street
New York, NY 10019
Email: <email address hidden>
Phone: 212-547-6984
http://www.soros.org/
http://www.karlproject.org
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Robert Marianski
Sent: Monday, December 12, 2011 12:38 PM
To: Nathaniel Katin-Borland
Subject: [Bug 900630] Re: Unresponsive script error on long texts

Is it possible to investigate what about it is slow? IIRC, the plugin tries different storages based on browser/add-ons. It would be better if we didn't disable it for all ie7 users.

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/900630

Title:
  Unresponsive script error on long texts

Status in KARL3:
  In Progress

Bug description:
  Oxfam reports (RT80255)

  Since the KARL upgrade, I have seen the following error message when I try
  to edit longer KARL pages:

  This happens on the following pages commonly:

  https://karl.oxfam.org.uk/communities/sru4/wiki/internal-external-contacts/
  https://karl.oxfam.org.uk/communities/sru4/wiki/internal-contacts/
  https://karl.oxfam.org.uk/communities/sru4/wiki/marketing-codes/

  Some of these pages have anchors, and some have tables. What links them
  all together is that they are long, and that's where we think the error
  may be - in editing the longer pages.
  It is not a time specific problem - it happens randomly. In addition,
  other colleagues in my team have had similar problems, so it isn't an
  error with my computer/internet settings.

  Thinking it may be a problem with Internet Explorer (and the version we
  use here), I tested it in Firefox. It seems to work better (and be more
  stable there), but I still get an error message every now and then
  (although less regularly than in Internet Explorer):

  I don't think it is a problem with the migration or upgrade, but rather a
  KARL software bug. In addition, I just wanted to mention that my team's
  main information sharing tool is KARL, and everyone is constantly using
  the site and editing the pages. With this KARL bug in place, it is making
  our ability to share vital information very difficult.

To manage notifications about this bug go to:
https://bugs.launchpad.net/karl3/+bug/900630/+subscriptions

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Back to Balazs to take another try at debugging the autosave. Since this isn't an OSF bug, we won't work on it for this week.

Changed in karl3:
importance: Medium → Low
milestone: m85 → m86
Revision history for this message
Balazs Ree (ree) wrote :

shall this come back assigned to me, or Robert, am I waiting for more input from you?

Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 900630] Unresponsive script error on long texts

Back to you, Balazs.

--Paul

On Dec 19, 2011, at 5:43 AM, Balazs Ree wrote:

> shall this come back assigned to me, or Robert, am I waiting for more
> input from you?
>
> --
> You received this bug notification because you are subscribed to KARL3.
> https://bugs.launchpad.net/bugs/900630
>
> Title:
> Unresponsive script error on long texts
>
> Status in KARL3:
> In Progress
>
> Bug description:
> Oxfam reports (RT80255)
>
> Since the KARL upgrade, I have seen the following error message when I try
> to edit longer KARL pages:
>
> This happens on the following pages commonly:
>
> https://karl.oxfam.org.uk/communities/sru4/wiki/internal-external-contacts/
> https://karl.oxfam.org.uk/communities/sru4/wiki/internal-contacts/
> https://karl.oxfam.org.uk/communities/sru4/wiki/marketing-codes/
>
>
> Some of these pages have anchors, and some have tables. What links them
> all together is that they are long, and that's where we think the error
> may be - in editing the longer pages.
> It is not a time specific problem - it happens randomly. In addition,
> other colleagues in my team have had similar problems, so it isn't an
> error with my computer/internet settings.
>
> Thinking it may be a problem with Internet Explorer (and the version we
> use here), I tested it in Firefox. It seems to work better (and be more
> stable there), but I still get an error message every now and then
> (although less regularly than in Internet Explorer):
>
> I don't think it is a problem with the migration or upgrade, but rather a
> KARL software bug. In addition, I just wanted to mention that my team's
> main information sharing tool is KARL, and everyone is constantly using
> the site and editing the pages. With this KARL bug in place, it is making
> our ability to share vital information very difficult.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl3/+bug/900630/+subscriptions

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Moving out of the way to let us do a chameleon2 release.

Changed in karl3:
milestone: m86 → m87
Changed in karl3:
milestone: m87 → m88
Changed in karl3:
milestone: m88 → m90
Changed in karl3:
assignee: Robert Marianski (rmarianski) → Balazs Ree (ree)
Revision history for this message
Balazs Ree (ree) wrote : Re: [Bug 900630] [NEW] Unresponsive script error on long texts

On Jan 27, 2012, at 8:36 PM, Launchpad Bug Tracker wrote:

> Paul Everitt (paul-agendaless) has assigned this bug to you for KARL3:

Acknowledged.

> Oxfam reports (RT80255)
>
> Since the KARL upgrade, I have seen the following error message when I try
> to edit longer KARL pages:
>
> This happens on the following pages commonly:
>
> https://karl.oxfam.org.uk/communities/sru4/wiki/internal-external-contacts/
> https://karl.oxfam.org.uk/communities/sru4/wiki/internal-contacts/
> https://karl.oxfam.org.uk/communities/sru4/wiki/marketing-codes/
>
>
> Some of these pages have anchors, and some have tables. What links them
> all together is that they are long, and that's where we think the error
> may be - in editing the longer pages.
> It is not a time specific problem - it happens randomly. In addition,
> other colleagues in my team have had similar problems, so it isn't an
> error with my computer/internet settings.
>
> Thinking it may be a problem with Internet Explorer (and the version we
> use here), I tested it in Firefox. It seems to work better (and be more
> stable there), but I still get an error message every now and then
> (although less regularly than in Internet Explorer):
>
> I don't think it is a problem with the migration or upgrade, but rather a
> KARL software bug. In addition, I just wanted to mention that my team's
> main information sharing tool is KARL, and everyone is constantly using
> the site and editing the pages. With this KARL bug in place, it is making
> our ability to share vital information very difficult.
>
> ** Affects: karl3
> Importance: Low
> Assignee: Balazs Ree (ree)
> Status: In Progress
>
> --
> Unresponsive script error on long texts
> https://bugs.launchpad.net/bugs/900630
> You received this bug notification because you are a bug assignee.

Balazs Ree (ree)
Changed in karl3:
status: In Progress → Confirmed
Balazs Ree (ree)
Changed in karl3:
status: Confirmed → In Progress
Balazs Ree (ree)
Changed in karl3:
status: In Progress → Confirmed
Revision history for this message
Balazs Ree (ree) wrote :

Fresh and good news regarding this issue.

New version of tinymce (3.4.8) has been released on 2012-02-02. This version contains a _new_ version of the tinyautosave plugin, but it is renamed to "autosave" and incorporated as part of the official tinymce release bundle.

My first test shows that the new autosave plugin does work with IE7. We know that this plugin was the primary cause for the Stop Script errors on IE7.

This means, that the full upgrade of KARL to tinymce 3.4.8 will likely solve the issue. The upgrade requires theral testing though, because all our existing plugins must be (manually) tested to show no regression after the upgrade.

Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 900630] Unresponsive script error on long texts

Good news indeed!

What's the path forward…do this on a branch, have Jim test everything, etc.?

--Paul

On Feb 10, 2012, at 5:40 AM, Balazs Ree wrote:

> Fresh and good news regarding this issue.
>
> New version of tinymce (3.4.8) has been released on 2012-02-02. This
> version contains a _new_ version of the tinyautosave plugin, but it is
> renamed to "autosave" and incorporated as part of the official tinymce
> release bundle.
>
> My first test shows that the new autosave plugin does work with IE7. We
> know that this plugin was the primary cause for the Stop Script errors
> on IE7.
>
> This means, that the full upgrade of KARL to tinymce 3.4.8 will likely
> solve the issue. The upgrade requires theral testing though, because all
> our existing plugins must be (manually) tested to show no regression
> after the upgrade.
>
> --
> You received this bug notification because you are subscribed to KARL3.
> https://bugs.launchpad.net/bugs/900630
>
> Title:
> Unresponsive script error on long texts
>
> Status in KARL3:
> Confirmed
>
> Bug description:
> Oxfam reports (RT80255)
>
> Since the KARL upgrade, I have seen the following error message when I try
> to edit longer KARL pages:
>
> This happens on the following pages commonly:
>
> https://karl.oxfam.org.uk/communities/sru4/wiki/internal-external-contacts/
> https://karl.oxfam.org.uk/communities/sru4/wiki/internal-contacts/
> https://karl.oxfam.org.uk/communities/sru4/wiki/marketing-codes/
>
>
> Some of these pages have anchors, and some have tables. What links them
> all together is that they are long, and that's where we think the error
> may be - in editing the longer pages.
> It is not a time specific problem - it happens randomly. In addition,
> other colleagues in my team have had similar problems, so it isn't an
> error with my computer/internet settings.
>
> Thinking it may be a problem with Internet Explorer (and the version we
> use here), I tested it in Firefox. It seems to work better (and be more
> stable there), but I still get an error message every now and then
> (although less regularly than in Internet Explorer):
>
> I don't think it is a problem with the migration or upgrade, but rather a
> KARL software bug. In addition, I just wanted to mention that my team's
> main information sharing tool is KARL, and everyone is constantly using
> the site and editing the pages. With this KARL bug in place, it is making
> our ability to share vital information very difficult.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl3/+bug/900630/+subscriptions

Revision history for this message
Balazs Ree (ree) wrote :

On Feb 10, 2012, at 12:43 PM, Paul Everitt wrote:

> Good news indeed!
>
> What's the path forward…do this on a branch, have Jim test everything,
> etc.?

Yes. I already have a branch but that targeted the previous minor version, and it just did not solve the autosave problem. Now I will need to update this branch with the new version, test the plugins manually, and if there is no problem I see at first then it can go to Jim for the full testing.

Revision history for this message
Nat Katin-Borland (nborland) wrote :

Great news! Very glad that we think we can just update the editor rather than go back to the drawing board.

--
Nathaniel Katin-Borland
Support Specialist
Knowledge Management Initiative
KARL Support Team

Open Society Foundations - New York Office
400 West 59th Street
New York, NY 10019
Email: <email address hidden>
Phone: 212-547-6984
http://www.soros.org/
http://www.karlproject.org
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Balazs Ree
Sent: Friday, February 10, 2012 9:30 AM
To: Nathaniel Katin-Borland
Subject: Re: [Bug 900630] Unresponsive script error on long texts

On Feb 10, 2012, at 12:43 PM, Paul Everitt wrote:

> Good news indeed!
>
> What's the path forward…do this on a branch, have Jim test everything,
> etc.?

Yes. I already have a branch but that targeted the previous minor version, and it just did not solve the autosave problem. Now I will need to update this branch with the new version, test the plugins manually, and if there is no problem I see at first then it can go to Jim for the full testing.

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/900630

Title:
  Unresponsive script error on long texts

Status in KARL3:
  Confirmed

Bug description:
  Oxfam reports (RT80255)

  Since the KARL upgrade, I have seen the following error message when I try
  to edit longer KARL pages:

  This happens on the following pages commonly:

  https://karl.oxfam.org.uk/communities/sru4/wiki/internal-external-contacts/
  https://karl.oxfam.org.uk/communities/sru4/wiki/internal-contacts/
  https://karl.oxfam.org.uk/communities/sru4/wiki/marketing-codes/

  Some of these pages have anchors, and some have tables. What links them
  all together is that they are long, and that's where we think the error
  may be - in editing the longer pages.
  It is not a time specific problem - it happens randomly. In addition,
  other colleagues in my team have had similar problems, so it isn't an
  error with my computer/internet settings.

  Thinking it may be a problem with Internet Explorer (and the version we
  use here), I tested it in Firefox. It seems to work better (and be more
  stable there), but I still get an error message every now and then
  (although less regularly than in Internet Explorer):

  I don't think it is a problem with the migration or upgrade, but rather a
  KARL software bug. In addition, I just wanted to mention that my team's
  main information sharing tool is KARL, and everyone is constantly using
  the site and editing the pages. With this KARL bug in place, it is making
  our ability to share vital information very difficult.

To manage notifications about this bug go to:
https://bugs.launchpad.net/karl3/+bug/900630/+subscriptions

Revision history for this message
Balazs Ree (ree) wrote :

tinymce upgrade is in testing, expected to solve the Stop Script problem on IE7.

Changed in karl3:
status: Confirmed → Fix Committed
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Making this "In Progress", moving to the future.

Changed in karl3:
milestone: m90 → m94
Changed in karl3:
milestone: m94 → m96
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

We still have to decide what to do about TinyMCE autosave. Moving to the future.

Changed in karl3:
milestone: m96 → m101
status: Fix Committed → In Progress
JimPGlenn (jpglenn09)
Changed in karl3:
milestone: m101 → m102
Changed in karl3:
milestone: m102 → m108
Revision history for this message
Balazs Ree (ree) wrote :

I am removing In Progress simply noting that currently we are waiting on this.

Also, since this is related to the tinymce upgrade (autosave plugin), this should be picked up once the upgrade has happened.

Changed in karl3:
status: In Progress → Triaged
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Good idea.

On May 24, 2012, at 6:49 AM, Balazs Ree wrote:

> I am removing In Progress simply noting that currently we are waiting on
> this.
>
> Also, since this is related to the tinymce upgrade (autosave plugin),
> this should be picked up once the upgrade has happened.
>
>
> ** Changed in: karl3
> Status: In Progress => Triaged
>
> --
> You received this bug notification because you are subscribed to KARL3.
> https://bugs.launchpad.net/bugs/900630
>
> Title:
> Unresponsive script error on long texts
>
> Status in KARL3:
> Triaged
>
> Bug description:
> Oxfam reports (RT80255)
>
> Since the KARL upgrade, I have seen the following error message when I try
> to edit longer KARL pages:
>
> This happens on the following pages commonly:
>
> https://karl.oxfam.org.uk/communities/sru4/wiki/internal-external-contacts/
> https://karl.oxfam.org.uk/communities/sru4/wiki/internal-contacts/
> https://karl.oxfam.org.uk/communities/sru4/wiki/marketing-codes/
>
>
> Some of these pages have anchors, and some have tables. What links them
> all together is that they are long, and that's where we think the error
> may be - in editing the longer pages.
> It is not a time specific problem - it happens randomly. In addition,
> other colleagues in my team have had similar problems, so it isn't an
> error with my computer/internet settings.
>
> Thinking it may be a problem with Internet Explorer (and the version we
> use here), I tested it in Firefox. It seems to work better (and be more
> stable there), but I still get an error message every now and then
> (although less regularly than in Internet Explorer):
>
> I don't think it is a problem with the migration or upgrade, but rather a
> KARL software bug. In addition, I just wanted to mention that my team's
> main information sharing tool is KARL, and everyone is constantly using
> the site and editing the pages. With this KARL bug in place, it is making
> our ability to share vital information very difficult.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/karl3/+bug/900630/+subscriptions

Revision history for this message
Balazs Ree (ree) wrote :

The upgrade of tinymce has most likely solved this problem.

Another (unrelated) problem of the autosave plugin is however introduced. A crashed page will be offered for recovery on whichever url you open next. The desired way of working would probably be: only offer the recovery if you are on the same page where the crash happened.

I may be able to find a solution for this problem but it probably will involve fixing the upstream plugin code for autosave.

To conclude that the original problem should be gone now, I mark this ticket to fixed. The code currently is testable on branch ux2 only.

Changed in karl3:
status: Triaged → Fix Committed
Revision history for this message
Nat Katin-Borland (nborland) wrote : RE: [Bug 900630] Re: Unresponsive script error on long texts
Download full text (3.3 KiB)

Hi Balazs,

I'm not sure the behavior you describe with autosave is new. To my knowledge that's always how the autosave has worked. Autosave is tied to the TINYMCE, not the specific page you're on in KARL. In other words if you attempt to recover something via autosave, it just shows you whatever you were working on last, regardless of what page you visit after a crash. I just wanted to clarify that.

--
Nathaniel Katin-Borland
Support Specialist
Knowledge Management Initiative
KARL Support Team

Open Society Foundations - New York Office
400 West 59th Street
New York, NY 10019
Email: <email address hidden>
Phone: 212-547-6984
http://www.soros.org/
http://www.karlproject.org

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Balazs Ree
Sent: Friday, June 15, 2012 7:12 AM
To: Nathaniel Katin-Borland
Subject: [Bug 900630] Re: Unresponsive script error on long texts

The upgrade of tinymce has most likely solved this problem.

Another (unrelated) problem of the autosave plugin is however introduced. A crashed page will be offered for recovery on whichever url you open next. The desired way of working would probably be: only offer the recovery if you are on the same page where the crash happened.

I may be able to find a solution for this problem but it probably will involve fixing the upstream plugin code for autosave.

To conclude that the original problem should be gone now, I mark this ticket to fixed. The code currently is testable on branch ux2 only.

** Changed in: karl3
       Status: Triaged => Fix Committed

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/900630

Title:
  Unresponsive script error on long texts

Status in KARL3:
  Fix Committed

Bug description:
  Oxfam reports (RT80255)

  Since the KARL upgrade, I have seen the following error message when I try
  to edit longer KARL pages:

  This happens on the following pages commonly:

  https://karl.oxfam.org.uk/communities/sru4/wiki/internal-external-contacts/
  https://karl.oxfam.org.uk/communities/sru4/wiki/internal-contacts/
  https://karl.oxfam.org.uk/communities/sru4/wiki/marketing-codes/

  Some of these pages have anchors, and some have tables. What links them
  all together is that they are long, and that's where we think the error
  may be - in editing the longer pages.
  It is not a time specific problem - it happens randomly. In addition,
  other colleagues in my team have had similar problems, so it isn't an
  error with my computer/internet settings.

  Thinking it may be a problem with Internet Explorer (and the version we
  use here), I tested it in Firefox. It seems to work better (and be more
  stable there), but I still get an error message every now and then
  (although less regularly than in Internet Explorer):

  I don't think it is a problem with the migration or upgrade, but rather a
  KARL software bug. In addition, I just wanted to mention that my team's
  main information sharing tool is KARL, and everyone is constantly using
  the site and editing the pag...

Read more...

Revision history for this message
Balazs Ree (ree) wrote :

On Jun 15, 2012, at 3:56 PM, Nat Katin-Borland wrote:

> Hi Balazs,
>
> I'm not sure the behavior you describe with autosave is new. To my
> knowledge that's always how the autosave has worked. Autosave is tied
> to the TINYMCE, not the specific page you're on in KARL. In other words
> if you attempt to recover something via autosave, it just shows you
> whatever you were working on last, regardless of what page you visit
> after a crash. I just wanted to clarify that.

If that is good: then we are good. And indeed this seems to be the current behavior.

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Over to Jim for testing on IE8. Fingers crossed!

Changed in karl3:
milestone: m108 → m107
assignee: Balazs Ree (ree) → JimPGlenn (jpglenn09)
Revision history for this message
Nat Katin-Borland (nborland) wrote :

I think it's fine, since that's what it has always been like...

--
Nathaniel Katin-Borland
Support Specialist
Knowledge Management Initiative
KARL Support Team

Open Society Foundations - New York Office
400 West 59th Street
New York, NY 10019
Email: <email address hidden>
Phone: 212-547-6984
http://www.soros.org/
http://www.karlproject.org

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Balazs Ree
Sent: Friday, June 15, 2012 10:15 AM
To: Nathaniel Katin-Borland
Subject: Re: [Bug 900630] Re: Unresponsive script error on long texts

On Jun 15, 2012, at 3:56 PM, Nat Katin-Borland wrote:

> Hi Balazs,
>
> I'm not sure the behavior you describe with autosave is new. To my
> knowledge that's always how the autosave has worked. Autosave is tied
> to the TINYMCE, not the specific page you're on in KARL. In other
> words if you attempt to recover something via autosave, it just shows
> you whatever you were working on last, regardless of what page you
> visit after a crash. I just wanted to clarify that.

If that is good: then we are good. And indeed this seems to be the current behavior.

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/900630

Title:
  Unresponsive script error on long texts

Status in KARL3:
  Fix Committed

Bug description:
  Oxfam reports (RT80255)

  Since the KARL upgrade, I have seen the following error message when I try
  to edit longer KARL pages:

  This happens on the following pages commonly:

  https://karl.oxfam.org.uk/communities/sru4/wiki/internal-external-contacts/
  https://karl.oxfam.org.uk/communities/sru4/wiki/internal-contacts/
  https://karl.oxfam.org.uk/communities/sru4/wiki/marketing-codes/

  Some of these pages have anchors, and some have tables. What links them
  all together is that they are long, and that's where we think the error
  may be - in editing the longer pages.
  It is not a time specific problem - it happens randomly. In addition,
  other colleagues in my team have had similar problems, so it isn't an
  error with my computer/internet settings.

  Thinking it may be a problem with Internet Explorer (and the version we
  use here), I tested it in Firefox. It seems to work better (and be more
  stable there), but I still get an error message every now and then
  (although less regularly than in Internet Explorer):

  I don't think it is a problem with the migration or upgrade, but rather a
  KARL software bug. In addition, I just wanted to mention that my team's
  main information sharing tool is KARL, and everyone is constantly using
  the site and editing the pages. With this KARL bug in place, it is making
  our ability to share vital information very difficult.

To manage notifications about this bug go to:
https://bugs.launchpad.net/karl3/+bug/900630/+subscriptions

Revision history for this message
JimPGlenn (jpglenn09) wrote :

I have tested this on both UX1 and UX2 under IE8 and IE9 and neither have the script error. UX1 has no errors at all and UX2 has some of the errors in tinymce that are being worked through other reported bugs.

tags: added: tested
JimPGlenn (jpglenn09)
tags: added: r3.89
JimPGlenn (jpglenn09)
Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.