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

Item3513: AUTOINCn produces unwanted lease file, breaking the workflow

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   patch 4.1.1

Edit Form Data

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

Detail

If you create a new topic with autonumbering using the ItemXXXXXXXXXX or ItemAUTOINC1 feature you get a new number on each topic save - spec - OK.

Issues:

  1. If person A hit "create new item", and person B hits the same link before B created the topic, person B gets a lease warning.
  2. If you hit "create new item" and go back in your browser window without cancelling out you will leave a lease file. If someone else tries to "create new item" he/she gets a warning.

Warning:

Conflict
Attention
LynnwoodBrown is editing ItemAUTOINC1.
LynnwoodBrown has been editing the topic for 43 seconds and the lease is still active for another 59 minutes 17 seconds.
It is probably OK to go ahead and edit - unless you intend to change data in a form attached to the topic. If LynnwoodBrown actually does save the topic while you are editing, your changes will be merged, and nothing will be lost. Form data cannot easily be merged though, so in this case you are recommended to check with LynnwoodBrown first.

[Try again] to see if LynnwoodBrown has finished editing yet.

[Edit anyway] to edit the topic anyway.

If you hit [Edit anyway] you will see an emty topic without a form, which is bad.

Suggested fix: If the topic name has a AUTOINC[0-9] in it, do not create the lease file.

-- TWiki:Main/PeterThoeny - 27 Jan 2007

Should be OK now, but I'm not a big user of AUTOINC and someone needs to double check.

Patch candidate?

CC

Yes. This looks like a simple fix you have made and the code make sense even to me. Merged into Patch04x01

-- TWiki:Main.KennethLavrsen - 31 Jan 2007

Definitely merge into 4.1.1

-- TWiki:Main.PeterThoeny - 31 Jan 2007

Cleaned "WaitingFor" field.

-- TWiki:Main.GilmarSantosJr - 10 Aug 2008

ItemTemplate
Summary AUTOINCn produces unwanted lease file, breaking the workflow
ReportedBy TWiki:Main.PeterThoeny
Codebase 4.1.0
SVN Range TWiki-4.1.0, Mon, 22 Jan 2007, build 12595
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins 12689 12695
TargetRelease patch
ReleasedIn 4.1.1
Edit | Attach | Watch | Print version | History: r13 < r12 < r11 < r10 < r9 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r13 - 2008-08-10 - GilmarSantosJr
 
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