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