Tags:
create new tag
view all tags

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

  1. Login as one user (JoeSchmoe)
  2. Login as another user in another browser (JohnDoe)
  3. Edit a topic as JoeSchmoe
  4. Try to edit that topic as JohnDoe - you will not be allowed without an override
  5. Try to attach a file as JohnDoe - you will be allowed
  6. Attach a file and upload it
  7. 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

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux
Web server: Apache
Perl version: 5.6.0
Client OS: MS Windows 2000
Web Browser: MSIE6

-- TedPavlic - 21 Oct 2003

Follow up

Fix record

Topic revision: r1 - 2003-10-21 - TedPavlic
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.