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

Jesse Vincent jesse at bestpractical.com
Wed Feb 21 14:41:03 EST 2007




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 


More information about the Rt-devel mailing list