Description
Deleting of RefTest fails http://moinmoin.wikiwikiweb.de/RefTest?action=DeletePage because of local variable 'msg' referenced before assignment
I believe this bug occurs because SeungikLee deleted this page at the same time. Probably a lock for deleting is needed -- ReimarBauer 2006-01-17 08:23:43
I think you are right. There are 2 bugs here. One is not initializing the msg variable, the other is not having a lock for deletion. I did at least a quick fix for the msg variable. -- ThomasWaldmann 2006-01-17 08:56:37
locking for renaming should be checked too -- ReimarBauer 2006-01-17 12:09:43
Steps to reproduce
Try to delete a page in this wiki at the same time as one else did it.
Example
Details
this wiki
MoinMoin Version |
|
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Workaround
Discussion
Plan
- Priority:
- Assigned to:
- Status:
arch.thinkmo.de--2003-archives/moin--main--1.5--patch-387 fixed msg attr
1.6 uses PageEditor._write_file for deletion, thus same locking as for page saves (should fix this problem)