Item1616: PublishPlugin can't find the WEBLOGOIMG

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component: PublishPlugin
Branches:
Reported By: PhilippLeufke
Waiting For:
Last Change By: CrawfordCurrie

Description

When exporting a Web as html, using PublishPlugin and pattern as skin, the report gets filled with the following message for every topic:
ERROR: /var/lib/foswiki/pub/PublishPlugin/WebPreferences/logo_large.png is not readable
ERROR: MISSING RESOURCE PublishPlugin/WebPreferences/logo_large.png

The logo is generally working as it should; it is set in SitePreferences as follows:
 * Set WEBLOGONAME = logo_large.png
 * Set WEBLOGOIMG = %PUBURLPATH%/%BASEWEB%/%WEBPREFSTOPIC%/%WEBLOGONAME%
 * Set WEBLOGOURL = %SCRIPTURLPATH{"view"}%/%BASEWEB%/%HOMETOPIC%
 * Set WEBLOGOALT = Home

Obviously, the logo won't be displayed in the exported html's.

I guess, the problem is, that PublishPlugin changes the BASEWEB to PublishPlugin, which causes it to look for the file at the wrong place.
I can't reproduce this, but that may be because of the fix to Item1449 (released on 18th May).

Please let me know if this is still a problem.

-- CrawfordCurrie - 18 May 2009

The bug is still present in the most recent release. I'll do some debugging regarding interferences with other plugins on the weekend.

-- PhilippLeufke - 19 May 2009

If your diagnosis is correct about BASEWEB, then I found that and cured it Item8165. Please let me know if you find anything else.

-- CrawfordCurrie - 22 May 2009

Great. No it works! Only the WEBHEADERART (set in SitePreferences) doesn't seem to have any effect. It doesn't show up in the exported web, but it also doesn't lead to any error message during export. Shall I open a new bug for this (with low priority)? In this case, this bug can be closed. Thanks!

-- PhilippLeufke - 24 May 2009

Sure. Please note that when setting "Waiting for Feedback" status, you must state who you want feedback from!

-- CrawfordCurrie - 26 Aug 2010

ItemTemplate edit

Summary PublishPlugin can't find the WEBLOGOIMG
ReportedBy PhilippLeufke
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component PublishPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r6 - 26 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