Item9433: Print view no longer works. It seems cover does not work

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: KennethLavrsen
Waiting For:
Last Change By: CrawfordCurrie
As noted by George on IRC the ?cover=print does not work at all

I tried skin=print and that works.

So it seems some code change as removed the cover feature. We need that back

Release blocker.

-- KennethLavrsen - 04 Aug 2010

> Modified: trunk/core/lib/Foswiki.pm
> ===================================================================
> --- trunk/core/lib/Foswiki.pm 2010-08-06 12:34:29 UTC (rev 8427)
> +++ trunk/core/lib/Foswiki.pm 2010-08-06 16:16:21 UTC (rev 8428)

> -    $dermis ||= $this->{prefs}->getPreference('SKIN');
> +    $skins = $this->{prefs}->getPreference('SKIN') unless defined $skins;

This changed behaviour: an empty skin url parameter now wipes out the skin path showing uggly default skin... breaks NatEditPlugin.

Me making it an unless $skin again.

-- MichaelDaum - 09 Aug 2010

Note that unless $skins will also catch * Set SKIN = 0 which is why I changed it. We are both wrong; the correct condition is

unless defined $skins && $skins ne ''

-- CrawfordCurrie - 09 Aug 2010

Decided to leave it, and doc it correctly instead.

-- CrawfordCurrie - 09 Aug 2010

 

ItemTemplate edit

Summary Print view no longer works. It seems cover does not work
ReportedBy KennethLavrsen
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:5886455127b7 distro:bc47375841a3 distro:1f93439fc611
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r7 - 09 Aug 2010, CrawfordCurrie
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