Item12731: View Printable Version doesn't work for old revisions

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: NatSkin
Branches:
Reported By: LeilaPearson
Waiting For:
Last Change By: MichaelDaum
If you are viewing an old revision of a page and then click the "View Printable Version" link in the bottom bar you'll see the printable version of the newest revision instead of the revision you were viewing.

I fixed this in my skin by creating a foswiki.myskin.tmpl that includes foswiki and overrides the definition of PRINT_ACTION so that the href ends in ;rev=$rev (and of course setting the SKIN site preference to myskin,nat)

-- LeilaPearson - 24 Jan 2014

This is broader than just revisions. If the print link doesn't copy over all URL parameters, then topics that customize based upon URL params lose all their customizations.

PatternSkin resolves this by adding %QUERYSTRING% to the printable view.

-- GeorgeClark - 29 May 2014

Seems to be working fine by now. Topic actions have been removed from the bottom bar.

-- MichaelDaum - 04 Dec 2017
 

ItemTemplate edit

Summary View Printable Version doesn't work for old revisions
ReportedBy LeilaPearson
Codebase 1.1.9
SVN Range
AppliesTo Extension
Component NatSkin
Priority Normal
CurrentState Closed
WaitingFor
Checkins
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r3 - 04 Dec 2017, MichaelDaum - This page was cached on 16 Jan 2020 - 04:25.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy