• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7087: Icon image is undetermined if ICON parameter is empty

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine ICON Normal Closed   patch 5.1.3

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

If the ICON parameter is empty, as in %ICON{}%, an icon URL of just .gif is generated.

  • Expected: Use Empty transparent 16x16 spacer - ICON{empty}
  • Test: Empty transparent 16x16 spacer - ICON{}

Related, if a filepath/filename is specified and the file type is not known, currently the icon is assumed to exist in the Main.TWikiDocGraphics icon library.

  • Expected: Use Unknown file format - ICON{else} (as was the case in early TWiki versions)
  • Test: Unknown file format - ICON{/path/foobar.xxz}

However, if a filepath/filename is not specified and the file type is not known, assume an icon of that name to exist in the Main.TWikiDocGraphics icon library.

  • Expected: ICON{foobared} pointing to Main.TWikiDocGraphics attachment directory
  • Test: Foobared - ICON{foobared}

-- TWiki:Main/PeterThoeny - 2012-12-16

ItemTemplate
Summary Icon image is undetermined if ICON parameter is empty
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4, 5.1.2
SVN Range TWiki-5.1.3-trunk, Tue, 11 Dec 2012, build 24445
AppliesTo Engine
Component ICON
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:24489 TWikirev:24490 TWikirev:24491 TWikirev:24492
TargetRelease patch
ReleasedIn 5.1.3
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r7 - 2012-12-16 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback