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