• Do
not register here on develop.twiki.org, login with your twiki.org account.
• Use
Item7848 for generic
doc work for TWiki-6.1.1. Use
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.
Item7360: Query search not working on non-default disks
Item Form Data
AppliesTo: |
Component: |
Priority: |
CurrentState: |
WaitingFor: |
TargetRelease |
ReleasedIn |
Engine |
|
Normal |
Closed |
|
major |
6.0.0 |
Detail
When {MultipleDisks} is true (c.f.
UsingMultipleDisks), in a web residing in a non-default disk (a directory different from {DataDir}), %<nop>SEARCH{... type="query" ...}% does not work because TWiki::Store::QueryAlgorithms::BruteForce::query() refers to $TWiki::cfg{DataDir}.
It's fixed by replacing $TWiki::cfg{DataDir} with $store->{session}->getDataDir($web).
--
TWiki:Main/HideyoImazu - 2013-10-08