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

Item6070: VotePlugin breaks with hierarchical webs

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension VotePlugin Urgent Closed TWiki:Main.ColasNahaboo n/a  

Edit Form Data

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

Detail

When used in a subweb, eg. Foo/Bar the vote plugin provokes a web server error, as it tries to store the votes into the work_area/VotePlugin/web/topic without realizing that the web subdir may have to be recursively created if it is more than one level.

The simplest (and fastest) solution will be to use the web "canonical form" for storing data, e.g with dots instead of slashes.It seems to work ok, I will commit the fix after some more testing

-- TWiki:Main/ColasNahaboo - 14 Oct 2008

Fixed as SVN commits 17635 & 17636

-- TWiki:Main.ColasNahaboo - 14 Oct 2008

ItemTemplate
Summary VotePlugin breaks with hierarchical webs
ReportedBy TWiki:Main.ColasNahaboo
Codebase 4.2.3
SVN Range TWiki-5.0.0, Sun, 05 Oct 2008, build 17588
AppliesTo Extension
Component VotePlugin
Priority Urgent
CurrentState Closed
WaitingFor TWiki:Main.ColasNahaboo
Checkins TWikirev:17635 TWikirev:17636
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2008-10-14 - ColasNahaboo
 
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