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

Jesse Vincent jesse at bestpractical.com
Wed Feb 21 22:52:59 EST 2007

On Wed, Feb 21, 2007 at 07:49:01PM -0800, Philip Kime wrote:
> > That sounds like it's going to be an API change that's backwards
> > incompatible. Why can't you just do canonicalization once it's in sub
> > Create?
> I think there maybe some misunderstanding - this isn't an API patch -
> it's a patch to the GUI-only CreateTicket() sub in Web.pm, not the API
> Ticket::Create() sub. CreateTicket is a wrapper which massages MASONy
> things into the right shape for a call to Ticket::Create() later. I've
> just altered the massaging a little. Ticket::Create() copes fine with
> arrays of one value as values for multi-CFs.

I did misunderstand. However, given that, what's the point of the
change? You really don't want to be doing any sort of error checking or
data manipulation at that level.

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


More information about the Rt-devel mailing list