Item8053: FormQuery is not picking up the final row of a table.

pencil
Priority: Urgent
Current State: Closed
Released In:
Target Release:
Applies To: Extension
Component: FormQueryPlugin
Branches:
Reported By: Foswiki:Main.AlexHamilton
Waiting For:
Last Change By: CrawfordCurrie
The FormQueryPlugin in TWiki 4.2.4 fails to pick up the final row in a table that it is searching.

For example the following search:

%FORMQUERY{ name="query1" topic="TestTopic" extract="TestTable"}% %QUERYTOCALC{ query="query1" format="|$Name|" }% %SHOWCALC{"$LISTSORT($LIST($ABOVE()))"}%

of this table:
Name
B
A
C
D

produces:

A, B, C

but does not pick up the D
This is an issue specific to QUERYTOCALC, which I didn't write. As far as I can tell, the spreadsheet plugin data is populated correctly.

Found it at long last. The row counter was always coming up one short.

-- CrawfordCurrie - 07 Apr 2009

ItemTemplate edit

Summary FormQuery is not picking up the final row of a table.
ReportedBy Foswiki:Main.AlexHamilton
Codebase
SVN Range TWiki 4.2.4
AppliesTo Extension
Component FormQueryPlugin
Priority Urgent
CurrentState Closed
WaitingFor
Checkins FormQueryPlugin:b3b080bfff18
ReleasedIn
Topic revision: r2 - 07 Apr 2009, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy