Item5178: 'Please wait message' is entered into Editor's undo-history

pencil
Priority: Normal
Current State: No Action Required
Released In:
Target Release: minor
Applies To: Extension
Component: TinyMCEPlugin
Branches:
Reported By: TWiki:Main.MarkVanHeeswijk
Waiting For:
Last Change By: CrawfordCurrie
The transition from Please wait... retrieving page from server to the actual topic text is part of the editor's undo-history, while it should not.

-- TWiki:Main/MarkVanHeeswijk - 29 Dec 2007

I don't think so. The transition is under the control of Javascript, and is not cached. What you are probably seeing is that the onload handler is caled when the page in the history is re-visited, resulting in a request sent to the server to convert the TML into HTML for editing. That's the way it is supposed to work. If you are seeing something else, please be specific. For example, do you see the wrong content when navigating "Back" to the page?

-- TWiki:Main.CrawfordCurrie - 29 Dec 2007

I can confirm this bug report.

Mark description is easy to reproduce.

Click Edit on any topic and wait for the TMCE to load and be fully loaded.

Edit some text.

Hit the undo button in the button bar several times.

Note how the editing you did is undone. And then finally - as Mark describes - you end up with "Please wait... retrieving page from server".

Save and your topic is lost.

Can be reproduced both in FF and IE by just following Marks bug description. I do not understand that you cannot see this Crawford.

When the page is loaded the undo history should not include the "Please wait..." message.

Undo should be greyed out when page is loaded and not active until you have typed something.

And when you undo multiple times the last undo should be the one that brings you back where you started - and not the "Please wait..." message.

-- TWiki:Main.KennethLavrsen - 29 Dec 2007

Sorry, I misread the report. I thought he meant the browser undo histoyr (aka the back button), not the editor undo history.

-- TWiki:Main.CrawfordCurrie - 29 Dec 2007

I can no longer reproduce the behaviour that Mark reported. My installation is at revision 3794. I observed a new problem, Item1549, which may be related.

-- MichaelTempest - 01 May 2009

It probably is related. The undo history is under the control of TinyMCE, and if it chooses to store the conversion in the undo history, I'm not sure there's anything we can do about it. Anyway, follow up in Item1549 - this is No Action now, as Michael states.

-- CrawfordCurrie - 24 May 2009

ItemTemplate edit

Summary 'Please wait message' is entered into Editor's undo-history
ReportedBy TWiki:Main.MarkVanHeeswijk
Codebase
SVN Range TWiki-4.3.0, Tue, 18 Dec 2007, build 16029
AppliesTo Extension
Component TinyMCEPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease minor
ReleasedIn
Topic revision: r8 - 24 May 2009, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy