• 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.

In a plugin topic (ThreadedDiscussionPlugin, but that is not relevant) I had set an ICONTOPIC flag. In this topic, suddenly TWiki::mapToIconFileName would mess up.

It appears that the plugin specific variables are not isolated in their own name space, as in that topic a call to getPreferencesValue from TWiki in getIconUrl ends up finding the plugin variable.

To test, just set a variable in a plugin topic (say ICONTOPIC) to something. In my case, I used

  • Set ICONTOPIC = %PUBURL%/%TWIKIWEB%/TWikiDocGraphics

Actually, it is relevant. As you know, plugin preferneces get the name of the plugin prepended, so when viewing from another topic, your ICONTOPIC setting would be THREADEDDISCUSSIONPLUGIN_ICONTOPIC. Onyl when viewing the actual plugin topic is there a clash, because the setting is identified as a TOPIC level setting of ICONTOPIC.

My advice is (unless Cairo compatibility is a primary concern) to move all settings out of plugin topics and into LocalSite.cfg, where they can be set from configure. There is an interface available to installers to support this (though I confess poorly documented at the moment).

It works as per spec. Discarding. if you want to change the spec, raise a topic in Codev.

CC

ItemTemplate
Summary Settings in Plugin topics conflict with TWiki settings
ReportedBy TWiki:Main.ThomasWeigert
Codebase 4.0.0, 4.0.2, ~twiki4, 4.0.1
SVN Range Thu, 29 Jun 2006 build 10750
AppliesTo Engine
Component

Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2006-07-01 - CrawfordCurrie
 
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