resolution_overtaken by events type_cleanup | by henrik@levkowetz.com
The ipr_selecttype table is only used in ipr_detail.cgi, which doesn't seem to be used. Additionally, the selecttype and selectowner fields in the ipr_detail table, which one would expect could map to the values in ipr_selecttype, can have the values 0, 1 and 2, while ipr_selecttype only has entries for 1 and 2.
Finally, the code conversion of the selectowner field value to display string does
the conversion different from the conversion of the selecttype field; and is probably buggy:
($selecttype==1)?"YES":"NO"
which converts 0-->NO, 1-->YES, 2-->NO, while
($selectowner)?"YES":"NO",
which results in 0-->NO, 1-->YES, 2-->YES ...
Issue migrated from trac:70 at 2022-03-04 00:35:35 +0000
resolution_overtaken by eventstype_cleanup| by henrik@levkowetz.comThe ipr_selecttype table is only used in ipr_detail.cgi, which doesn't seem to be used. Additionally, the selecttype and selectowner fields in the ipr_detail table, which one would expect could map to the values in ipr_selecttype, can have the values 0, 1 and 2, while ipr_selecttype only has entries for 1 and 2.
Finally, the code conversion of the selectowner field value to display string does
the conversion different from the conversion of the selecttype field; and is probably buggy:
($selecttype==1)?"YES":"NO"
which converts 0-->NO, 1-->YES, 2-->NO, while
($selectowner)?"YES":"NO",
which results in 0-->NO, 1-->YES, 2-->YES ...
Issue migrated from trac:70 at 2022-03-04 00:35:35 +0000