[Rt-devel] [PATCH]: Data normalisation for multi-valued CFs inGUI create

Andrew Sterling Hanenkamp andrew.hanenkamp at boomer.com
Wed Feb 21 14:57:21 EST 2007


As an off-the-wall suggestion that might let you have your cake and eat
it to: Contextual::Return

It allows you to specify what gets returned by context. I'm not saying
it will work, but it came to mind when I read the last couple posts. 


--
Andrew Sterling Hanenkamp
Interaction Developer
Boomer Consulting, Inc.
 
1.785.537.2358 ext. 17
1.888.266.6375 ext. 17
1.785.537.4545 (fax)
 
610 Humboldt
Manhattan, KS 66502
 
http://www.boomer.com/about/team/andrew-hanenkamp.html
andrew.hanenkamp at boomer.com

-----Original Message-----
From: rt-devel-bounces at lists.bestpractical.com
[mailto:rt-devel-bounces at lists.bestpractical.com] On Behalf Of Jesse
Vincent
Sent: Wednesday, February 21, 2007 1:41 PM
To: Philip Kime
Cc: rt-devel at lists.bestpractical.com
Subject: Re: [Rt-devel] [PATCH]: Data normalisation for multi-valued CFs
inGUI create




On Wed, Feb 21, 2007 at 11:18:52AM -0800, Philip Kime wrote:
> I tested this a lot and I don't think it's a problem - 
> EnterMultiplValue fields always return an array ref as value, even if 
> there is one value, for example. I was going to canonocalise it but 
> it's neater to standardise where it's created ...


Don't forget that RT::Ticket::Create gets called by third party code,
lots and lots of third party code. Generally changing RT's API in a
backwards-incompatible way is something that I'm not willing to do
during a stable series.  (I also tend to be a fan of Postel's Law, when
it comes to APIs: Be liberal in what you accept.)

-jesse

> 
> PK
_______________________________________________
List info:
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


More information about the Rt-devel mailing list