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

Currently I use FormQueryPlugin with the September 2, 2004 release (Cairo). After upgrading to Dakar and re-installing the necessary dependencies for FormQueryPlugin I noticed queries don't return anything. Here are my plugin versions

My contrib versions are the current ones:


I turned on debug and moan in the plugin and get the following error messages:

'search' not defined, or invalid search expression in FORMQUERY Query 'query1' returned no values in SHOWQUERY

My queries are defined as follows:

%FORMQUERY{ name="ConfigItems" search="name=~'^ConfigItem\d.*'" }%

%FORMQUERY{ name="query1" query="ConfigItems" search="ConfigItemType='Service'" }%

%SHOWQUERY{ query="query1" sort="ConfigItemForm.ConfigItemName" format="| $ConfigItemName | $topic | $ItemOwner | $ItemInfoOwner | $ItemAdmin | $wikiusername | $date |" }%


My debug log doesn't give me any indication there is a problem:

05 Feb 2006 - 12:03 FormQueryPlugin preinitialised
05 Feb 2006 - 12:03 FormQueryPlugin lazy initialised
05 Feb 2006 - 12:03 FormQueryPlugin preinitialised
05 Feb 2006 - 12:04 FormQueryPlugin preinitialised
05 Feb 2006 - 12:04 FormQueryPlugin preinitialised

However, my apache error log has the following entry:

[Sun Feb 5 12:30:58 2006] view: Use of uninitialized value in substitution iterator at /srv/www/twiki4/lib/TWiki/Plugins/FormQueryPlugin/WebDB.pm line 59.


There have been a number of updates to the plugin since your first report, including a release of the plugin that is advertised as working with Dakar. Are you still seeing similar problems with the latest version?

CC

No feedback forthcoming; assume it has solved itself. Discarding.

CC

ItemTemplate
Summary FormQueryPlugin does not work under Dakar (Wed, 01 Feb 2006 build 8671, Plugin API version 1.1)
ReportedBy TWiki:Main.CharlesJohnson
Codebase

SVN Range Wed, 01 Feb 2006 build 8671
AppliesTo Extension
Component FormQueryPlugin
Priority Urgent
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2006-05-13 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback