Tags:
create new tag
, view all tags

Bug: Older topic rev shows top rev for file attachments

Viewing older topic revisions should show the revision of file attachments at that time. This is the case when click on an attached file in the attachment table, but not for embedded images and links to attached files.

Not sure how this can be solved. On possible solution is to create temporary files of older attachment revs.

Test case

  • Attach a GIF file to a topic and checkmark the "create link" flag (you get attachment revision r1.1)
  • Wait for one hour or log in as a different user
  • Attach a different GIF file with the same file name (you get r1.2)
  • Click on the previous topic revision
  • You see r1.2 GIF instead of r1.1

Environment

TWiki version: 03 Aug 2001 (and older ones with AttachmentsUnderRevisionControl
TWiki plugins: N/A
Server OS: N/A
Web server: N/A
Perl version: 5.0
Client OS: N/A
Web Browser: N/A

-- PeterThoeny - 12 Aug 2001

Isn't solution to change way links are done. At present it's %ATTACHURL...%. Could change it to %ATTACHMENT{"x"}% view would make sure revision number as available.

-- JohnTalintyre - 31 Aug 2001

TopicClassification:
BugReport
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2001-08-31 - JohnTalintyre
 
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.