Edgewall Software

Changes between Initial Version and Version 4 of Ticket #4116


Ignore:
Timestamp:
Dec 20, 2006, 1:48:02 PM (17 years ago)
Author:
Christian Boos
Comment:

Most probably a duplicate of #3939, fixed in trunk.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4116

    • Property Status newclosed
    • Property Resolutionduplicate
  • Ticket #4116 – Description

    initial v4  
    99
    1010First, I added a custom ticket field, by adding this to my trac.ini:
    11 
     11{{{
    1212[ticket-custom]
    1313product_backlog = checkbox
    1414product_backlog.label = Is Product Backlog?
    15 ptoduct_backlog.value = 0
    16 
     15product_backlog.value = 0
     16}}}
    1717Then I defined on a wiki page the following query:
    18 
     18{{{
    1919[query:?status=new&status=assigned&status=reopened&group=milestone&owner=%7E&product_backlog=1&&order=priority Product-Backlog Work Items, by Milestone]
    20 
     20}}}
    2121The query works unless I do the following steps:
    22 1. Add a ticket, setting my custom ticket checkbox to checked
    23 2. Update the ticket by UNCHECKING my custom ticket checkbox
     22 1. Add a ticket, setting my custom ticket checkbox to checked
     23 2. Update the ticket by UNCHECKING my custom ticket checkbox
    2424
    2525At this point I notice that the ticket change log gets this appended:
    26 
     26{{{
    2727    11/9/2006 11:02:49 AM changed by xxx  ¶
    2828
    2929        * product_backlog deleted.
    30 
     30}}}
    3131I would have expected to see "product_backlog set to 0", but maybe this is
    3232irrelevant.
     
    3636
    3737Here is the error trace:
    38 
     38{{{
    3939Traceback (most recent call last):
    4040  File "C:\bin\Python2.4\Lib\site-packages\trac\web\main.py", line 356, in dispatch_request
     
    6060  File "neo_hdf.c", line 773, in _set_value()
    6161AssertError: Unable to set Empty component query.num_matches_group.
    62 
     62}}}
    6363Now if I update the ticket again and RE-CHECK the custom checkbox,
    6464I see the following added to the ticket history, and my query works again.
    65 
     65{{{
    666611/9/2006 11:06:01 AM changed by xxx ¶
    6767
    6868    * product_backlog set to 1.
     69}}}
    6970
    7071
    71