Tags:
create new tag
, view all tags

Bug: View Shows User of Top Revison for Older topic Revisions

Users and time stamp of top topic revision is shown for older revisions.

Test case

  • View a topic in older format. Note the user and time stamp in the "Revision" line at the bottom
  • View a previous topic revision. Note that user and time stamp are the same.

Fix record

Change line 129 in view script, changes indicated in red:

        if( $rev < $maxrev ) {
            if( $viewRaw ) {
                $text = &TWiki::Store::readTopicRaw( $webName, $topic, "1.$rev" );
            } else {
                ( $meta, $text ) = &TWiki::Store::readTopicVersion( $webName, $topic, "1.$rev" );
            } 
            ( $revdate, $revuser ) = &TWiki::Store::getRevisionInfo( $webName, $topic, "1.$rev", 1 ); 
            $extra .= "r1.$rev";
        }

Was already in TWikiAlphaRelease on 01 Nov 2001.

Environment

TWiki version: 01 Sep 2001
TWiki plugins: N/A
Server OS: N/A
Web server: N/A
Perl version: N/A
Client OS: N/A
Web Browser: N/A

-- PeterThoeny - 24 Sep 2001

Topic revision: r3 - 2005-02-15 - SamHasler
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.