• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5045: Saving while networkerror all changes are lost forever

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TinyMCEPlugin Normal Confirmed   patch  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

When you have a network failure and you push on save, all contents is lost. Using the back doesn't give any info.

In the raw edit mode, it is possible to use the back button and then you have your information back, which you can try to save again or copy to something else.

Wouldn't it be better to make some kind of check if network is ok before saving.

This can be easily reproduced by disconnecting your PC from the network

Was this is Firefox?

There is a known issue with going back in the browser in Firefox - in TinyMCE mode.

-- TWiki:Main.KennethLavrsen - 29 Nov 2007

No it wasn't. It is Internet Explorer version 7

-- TWiki:Main.FrederikBeun - 30 Nov 2007

When you go back, there is a javascript error in the guts of Tiny MCE (something to do with an access violation accessing the document when adding event handlers)

Unfortunately IE doesn't give much information frown

This does not affect stored data, obviously enough, but large edits can be lost this way.

Corrected the summary line. Only changes are lost.

CC

I cannot reproduce this. Just tested with IE 7:

  1. Started an edit with TinyMCE
  2. Unplugged the internet cable
  3. Clicked Save
  4. After a timeout, Explorer gave me the page "Internet Explorer cannot display the webpage"
  5. Reconnected the cable
  6. The editor window says "Retrieving page from server"
  7. ... but it showed my changes as well
  8. Saving and all is well
The same happened when going to Preview first and then disconnecting.

-- TWiki:Main.ArthurClemens - 07 Dec 2007

Indeed the solution is you need to go back when the connection is there again, otherwise it shows the Retrieving page from server remark. When network is back and you push then on refresh page, then you loose everything. But if you instead you go back and then forward on the browser you get everything back.

How can we make this clear to the users?

-- TWiki:Main.FrederikBeun - 07 Dec 2007

I don't know. It's not something that is easy to explain.

I am very tempted to set this as "Normal", but I leave it to the release manager's judgmenet (that's why we have release managers, after all:-) )

CC

I am used to in web applications that if you submit to a disconnected network and then hit refresh it is good bye to anything to entered.

But going back and resubmitting should work. If this is the case then there may not even be a bug.

If this does not work then it is the general going back that is broken.

That should be fixed.

But a fix is not within a few days reach so I lower to normal. We can release with this. Especially because TMCE is a plugin that can - AND WILL FOR SURE - be updated many times the next months.

KJL

ItemTemplate
Summary Saving while networkerror all changes are lost forever
ReportedBy TWiki:Main.FrederikBeun
Codebase 4.1.2
SVN Range TWiki-4.3.0, Sun, 25 Nov 2007, build 15790
AppliesTo Extension
Component TinyMCEPlugin
Priority Normal
CurrentState Confirmed
WaitingFor

Checkins

TargetRelease patch
ReleasedIn

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2007-12-10 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback