r3 - 15 Feb 2005 - 01:42:36 - SamHaslerYou are here: TWiki >  Codev Web > ViewShowsTopRevUserForOlderRevs
Tags:
, create new tag

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

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Powered by TWiki
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 SourceForge.net Logo