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


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.


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

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-11-29 - MikeOliver
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.