Item9108: System.VarQUERY weirdness

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component: VarQUERY
Branches:
Reported By: PaulHarvey
Waiting For:
Last Change By: CrawfordCurrie
Based on my readings of QuerySearch, I expected to obtain the integer revision number of a topic with info.rev. However %QUERY{"info.rev"}% is blank (test: 7).

Interestingly, with %QUERY{"info.version"}% I expected to get the RCS x.y.z version no. But instead go the integer revision. Test: 7

To-do: run through the entire topic "map" documented in QuerySearch with unit tests for VarQUERY

-- PaulHarvey - 06 Jun 2010

It very much depends on what is in the working copy of the topic, whether the topic history has been read, etc etc.

-- CrawfordCurrie - 06 Jun 2010

Actually, this may be my doing. QuerySearch says:

    • rev - topic revision (12) to match %REVINFO{'$rev'}% and FormattedSearch $rev
    • version - internal Store topic version (1.12 for rcs based Stores)
      • %QUERY yields 7

My mistake for not correcting the doc when I changed the stored version number to a simple integer.

Upgraded from Normal to Urgent.

-- CrawfordCurrie - 14 Jun 2010

Should be hot to trot.

-- CrawfordCurrie - 14 Jun 2010

 
Topic revision: r7 - 15 Jun 2010, 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