This patch modifies Handler.pm, it allows you to specify attributes on
a queue or cf when defining it in initialdata.
example:
@CustomFields = (
{
Name => ‘MyField’,
…
Attributes => [
{
Name => MyAttribute,
Content => CONTENT
}
];
}
)
Syntax is identical in @Queues.
Under the hood it simply waits until the field/queue are generated, then
pushes your attributes into the @Attributes array w/ Object => ‘newly
created object’ added. Since @Attributes is processed later this works
as desired, and attributes are all processed in just the one place.
-Chad Granum
OpenSourcery (www.opensourcery.com)
rt-item-attributes.patch (1.49 KB)
signature.asc (252 Bytes)