• 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.

When editing a table, if a previous lock was not released you will get an oops:

Try Again to see if user has finished editing yet.
Edit Anyway to edit the topic anyway. 

This is even if the lock is held by one self. The nescessesary post parameters doesn't survive the oops screen, so clicking "Edit Anyway" is no good (will show regular edit screen, not EditTablePlugin edit).

Step to reproduce:

  1. Be in a topic using EditTablePlugin
  2. Edit the topic regularly, press "back" in browser instead of saving
  3. Try clicking the "Edit button" of a table set to use EditTablePlugin

If possible I think simply breaking the lock quietly under all circumstances could be a way to proceed. EditTablePlugin doesn't work in forms, so the risk of content loss would be minimal as the merge feature works reliable for topic content.

-- SP

This one is highly annoying for users and many don't know what to do when they click edit anyway and end up in normal edit mode. The only actual way out is to save the topic and then try edit table again.

Changing to urgent and putting it on my hotfix candidate list

KJL

Isn't this a bug of the core TWiki? Any topic locked by onself should not produce a locked message. (That was BTW the spec of Cairo.)

-- PTh

I think the core is ok, in this case it is just the plugin that is (too) careful on the lock checking.

I have de-activated the check for locks and released a new version to twiki.org.

-- SP

This fix introduced a bug for TWiki releases prior to Dakar: Topic lock check is no longer done. Fixed in Item2829.

-- PTh

Closed in 4.0.5 KJL

ItemTemplate
Summary EditTablePlugin: Don't oops on topic edit locks
ReportedBy TWiki:Main.SteffenPoulsen
Codebase ~twiki4
SVN Range TWiki-4.1-beta1, Mon, 24 Jul 2006, build 11161
AppliesTo Extension
Component EditTablePlugin
Priority Urgent
CurrentState Closed
WaitingFor

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