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

Jesse Vincent jesse at bestpractical.com
Mon Apr 30 09:27:46 EDT 2007


Dirk,

Alas, your test file isn't downloadable :/ Want to rename it  
from .pl, which is, I suspect, the issue.


On Apr 28, 2007, at 1:51 AM, Dirk Pape wrote:

> 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.
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070430/9bf20698/attachment.sig>


More information about the rt-users mailing list