Bug: Attaching a file to a topic while that topic is locked will unlock the topic
While someone is editing a topic, if someone else tries to edit they are blocked and given the option to override the lock. However, if a file is attached to a topic while that topic is being edited, the file is attached and the lock is released without prompting to override the existing editor's lock. The existing editor will then save over any changes that have been made by the attachment (META data, for example).
Test case
- Login as one user (JoeSchmoe)
- Login as another user in another browser (JohnDoe)
- Edit a topic as JoeSchmoe
- Try to edit that topic as JohnDoe - you will not be allowed without an override
- Try to attach a file as JohnDoe - you will be allowed
- Attach a file and upload it
- Now try to edit that topic as JohnDoe - you will be allowed to edit; the lock was removed
It seems like files should not be able to be attached to topics unless those topics are unlocked.
Environment
--
TedPavlic - 21 Oct 2003
Follow up
Fix record