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