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

Item4881: SEARCH{ "name ~ 'Item' " type="query" ... doesn't work

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed   minor 4.2.0

Edit Form Data

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

Detail

Hi, If I'm not misunderstanding how the new query type works, it seems that
%SEARCH{ "name ~ 'Item4'" type="query" web="LitterTray" nosearch="on" nototal="off" }

doesn't work. See example below:

Number of topics: 0

Where using the old fashion gives the expected results :

Results from LitterTray web retrieved at 12:25 (GMT)

Issue created by LeeVerberne on Example in the attached form. When editting this page, the third option in TopicClassification may or may not be evaluated correctly...
Issue created by LeeVerberne on Example from TWikiForms (with values for TopicClassification removed and changed to multiselect for clarity) Name Type...
The comment template is defined in UserCommentsTemplate Here is the CALC part to verify that it actually works outside Comment templates It checks for Item4423TestChecklistItemState...
Item4423 test topic. Must just exist
Item4439Topic1 Item4439Topic2 Example With INCLUDE breaking enumeration 1. 2. Example Breaking the Table Note how no attachment is fine (table...
Example test case for demonstration with attachment
Example Topic 2 without an attachment
Name: Type: Size: Values: Tooltip message: TopicGroup select 1 Select one..., Management, Design, Engineering, Quality, Purchasing, Process...
This is a test topic where TMCE eats new lines in some cases See Bugs.Item4705 Edit it in TMCE and save. Repeat the edit and save many times and see the topic become...
Set DATEVARIABLE 1181599200 Set DATEVARIABLE2
My links: My home page My activities /twiki/bin/edit/Main/%3Cspan%20class ` WYSIWYG PROTECTED? /LitterTray/Item4871LeftBarExample?t ` edit Issue...
Issue created by CrawfordCurrie on
Number of topics: 14

Any Idea ? Thanks, Eric

-- TWiki:Main/EricCharikane - 23 Oct 2007

Indeed this does look a bit strange, perhaps there's a "cross-over" between searches?

If I do another search like:

%SEARCH{"name = 'DontFindThis'" web="Bugs" type="query"}%

Results come up a bit strange:

Searched: name = 'DontFindThis'

Number of topics: 0

- There is a "dual" display of numbers, "14" appears to be left over from the above search.

-- TWiki:Main.SteffenPoulsen - 23 Oct 2007

The original report was for name not matching in queries; this is resolved. The second part, where the result is presented twice, is not the subject of this report, so I suggest, if you are worried about it, you should isolate the issue and open a new report.

Can someone please merge this to MAIN for me?

CC

Merged. Thanks for fixing.

KJL

Hi guys, thanks for fixing, the example above shows that we have now the same result using either type = query or regex, nice. all the best, eric.

-- TWiki:Main.EricCharikane - 25 Oct 2007

Cleaned "WaitingFor" field.

-- TWiki:Main.GilmarSantosJr - 10 Aug 2008

ItemTemplate
Summary SEARCH{ "name ~ 'Item' " type="query" ... doesn't work
ReportedBy TWiki:Main.EricCharikane
Codebase 4.2.0, ~twiki4
SVN Range TWiki-4.3.0, Fri, 12 Oct 2007, build 15261
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:15411 TWikirev:15412 TWikirev:15623 TWikirev:15624
TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r19 < r18 < r17 < r16 < r15 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r19 - 2008-08-10 - GilmarSantosJr
 
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