[rt-users] RTFM 2.2.0RC4 bug (with RT 3.6.3): Search not working for values of Cfs with type "select one value"

Dirk Pape pape-rt at inf.fu-berlin.de
Sat Apr 28 01:51:08 EDT 2007


Hi Jesse,

--Am 7. März 2007 12:33:22 -0500 schrieb Jesse Vincent 
<jesse at bestpractical.com>:

> How's this sound? Send me a patch to add a failing test to the RTFM test
> suite and I'll dig in and fix it? :)

I do it both (after beeing very busy with other things for a long time):

patch is here 
<http://page.mi.fu-berlin.de/~pape/rt3/patches/rtfm/2.2.0RC5/artice_cf_search.patch>

ArticleCollection->LimitCustomField did not Limit correct if FIELD is given 
as an Object or CustomFieldId but only when given as a Name

<http://page.mi.fu-berlin.de/~pape/rt3/patches/rtfm/rtfm_test_cf.pl> is a 
test for that, which I am not able to integrate into the regression test 
suite because of my ignorance. May I left that to any of you?

output of that test before patch:

> root at es:/export/local-1/src/rtmi/RTFM-2.2.0RC5[07:39:22]#
> /export/rt3.6/local/sbin/rtfm_test_cf.pl --suffix=pre-patch CF search by
> Id is not ok (21).
> CF search by Object is not ok (21).
> CF search by Name is ok.

after patch:

> root at es:/export/local-1/src/rtmi/RTFM-2.2.0RC5[07:40:36]#
> /export/rt3.6/local/sbin/rtfm_test_cf.pl --suffix=post-patch CF search by
> Id is ok.
> CF search by Object is ok.
> CF search by Name is ok.

:-)

Dirk.



More information about the rt-users mailing list