[rt-users] Is anyone successfully using ExtractCustomFieldValues with a multiple-value IP address field?

Lundberg, Emory emory-lundberg at uiowa.edu
Mon Mar 4 18:08:34 EST 2013

I have a scrip and template that use ExtractCustomFieldValues to pull things out of the body of a message. The problem I have is that I can't seem to figure out how to format this for a multi-value IP address field.

What is the preferred method of inserting these IP addresses using ExtractCustomFieldValues?

Should they be space or comma-seperated?  Should they be looped?  Should they be repeated in the body of the message individually?

An example of strange behavior I'm seeing when attempting to set and as values in a multi-value IP address field:

     [Mon Mar  4 22:13:34 2013] [debug]: Found value for CF: X-VIPS: (/opt/rt/rt4/local/plugins/RT-Extension-ExtractCustomFieldValues/lib/RT/Action/ExtractCustomFieldValues.pm:207)
     [Mon Mar  4 22:13:34 2013] [info]: CustomFieldValue (VIPS,X-VIPS: added: 0 Could not add new custom field value: Couldn't create record: Content is an invalid IP address (/opt/rt/rt4/local/plugins/RT-Extension-ExtractCustomFieldValues/lib/RT/Action/ExtractCustomFieldValues.pm:213)
     [Mon Mar  4 22:13:34 2013] [debug]: Found value for CF: (/opt/rt/rt4/local/plugins/RT-Extension-ExtractCustomFieldValues/lib/RT/Action/ExtractCustomFieldValues.pm:207)

Needless to say I'm surely doing something wrong, I just don't know what.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130304/8d748625/attachment.html>

More information about the rt-users mailing list