Changes between Initial Version and Version 4 of Ticket #4116
- Timestamp:
- Dec 20, 2006, 1:48:02 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4116
- Property Status new → closed
- Property Resolution → duplicate
-
Ticket #4116 – Description
initial v4 9 9 10 10 First, I added a custom ticket field, by adding this to my trac.ini: 11 11 {{{ 12 12 [ticket-custom] 13 13 product_backlog = checkbox 14 14 product_backlog.label = Is Product Backlog? 15 p toduct_backlog.value = 016 15 product_backlog.value = 0 16 }}} 17 17 Then I defined on a wiki page the following query: 18 18 {{{ 19 19 [query:?status=new&status=assigned&status=reopened&group=milestone&owner=%7E&product_backlog=1&&order=priority Product-Backlog Work Items, by Milestone] 20 20 }}} 21 21 The query works unless I do the following steps: 22 1. Add a ticket, setting my custom ticket checkbox to checked23 2. Update the ticket by UNCHECKING my custom ticket checkbox22 1. Add a ticket, setting my custom ticket checkbox to checked 23 2. Update the ticket by UNCHECKING my custom ticket checkbox 24 24 25 25 At this point I notice that the ticket change log gets this appended: 26 26 {{{ 27 27 11/9/2006 11:02:49 AM changed by xxx ¶ 28 28 29 29 * product_backlog deleted. 30 30 }}} 31 31 I would have expected to see "product_backlog set to 0", but maybe this is 32 32 irrelevant. … … 36 36 37 37 Here is the error trace: 38 38 {{{ 39 39 Traceback (most recent call last): 40 40 File "C:\bin\Python2.4\Lib\site-packages\trac\web\main.py", line 356, in dispatch_request … … 60 60 File "neo_hdf.c", line 773, in _set_value() 61 61 AssertError: Unable to set Empty component query.num_matches_group. 62 62 }}} 63 63 Now if I update the ticket again and RE-CHECK the custom checkbox, 64 64 I see the following added to the ticket history, and my query works again. 65 65 {{{ 66 66 11/9/2006 11:06:01 AM changed by xxx ¶ 67 67 68 68 * product_backlog set to 1. 69 }}} 69 70 70 71 71