Foswiki on GitHub is open for business! Next release meeting: Monday Nov. 17, 1300Z

Item1671: Pathnames of Attachments inappropriate in default Plugins

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Low Closed Engine Documentation, SlideShowPlugin, PrintSkin, Smilies  
For data/System/SlideShowPlugin.txt we see attachments with bogus path names:

META:FILEATTACHMENT{name="startpres.gif" attr="h" 
comment="Start Presentation button" date="1037759933" 
size="2065" user="ProjectContributor" version="1.1"}%

It looks like these are remnants from someone's local installation and need to be changes to simple file names like:

META:FILEATTACHMENT{name="startpres.gif" attr="h" 
comment="Start Presentation button" date="1237753321" 
size="2065" user="ProjectContributor" version="1.1"}%

8 places in this file.

Also, in System/PrintSkin.txt

META:FILEATTACHMENT{name="screenshot.gif" attr="h" 
comment="" date="1090916727" 
size="4040" user="ProjectContributor" version="1.1"}%
META:FILEATTACHMENT{name="fullscreen.gif" attr="h" 
comment="" date="1090916872" 
size="12968" user="ProjectContributor" version="1.2"}%

Also, in System/Smilies.txt

%META:FILEATTACHMENT{name="biggrin.gif" attr="h" 
comment="" date="1071216488" 
size="152" user="ProjectContributor" version="1.1"}%

20 places in this file.


Per discussion on the email list, the pathnames in the topics are not used to find the files, only the final file name is used. Therefore, these longer path names are not a bug that should result in any attachments not being available.

-- RaymondLutz - 27 May 2009

also PlainSkin, WabiSabi, FileAttachment, and PreviewBackground

-- WillNorris - 31 May 2009

i think i got everything; however, i would appreciate if "someone" could double check. wink

-- WillNorris - 03 Jun 2009

I think this is OK. Waiting for release.

-- KennethLavrsen - 16 Jun 2009

ItemTemplate edit

Summary Pathnames of Attachments inappropriate in default Plugins
ReportedBy RaymondLutz
Codebase 1.0.5, 1.0.4
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component Documentation, SlideShowPlugin, PrintSkin, Smilies
Priority Low
CurrentState Closed
TargetRelease patch
ReleasedIn 1.0.6
Topic revision: r9 - 22 Jun 2009, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License