Tags:
archive_me1Add my vote for this tag duplicate1Add my vote for this tag create new tag
, view all tags

Bug: Version 1.1 link incorrect when multiple versions available

Error in Attach.pm format row function.

condition if( $topRev || $ $rev eq "1.1") is always met for two revisions leading to incorrect url generation

Test case

Create a topic

Add an attachment

Update the attachment several times

manage the attachment

Interrogate the version 1.1 link

It links to the most recent version

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Solaris 8
Web server: Apache 1.3
Perl version: 5.6.1
Client OS:  
Web Browser: NA

-- DamianMcCourt - 26 Jul 2005

Impact and Available Solutions

Follow up

 

Fix record

Quick fix is to remove the if in attach.pm, but this is obviously not ideal.

Discussion

This looks to be a duplicate of BadAtachmentLinkForAtachmentVersion1. That topic describes the correct fix.

-- MikeOliver - 29 Nov 2005

And BadAtachmentLinkForAtachmentVersion1 is, in turn, a duplicate of AttachmentVersionsBrokenOnlyShowsLast.

-- MikeOliver - 29 Nov 2005

 
Topic revision: r3 - 29 Nov 2005 - 22:49:46 - MikeOliver
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback