Re: [Arsperl-users] ARS Perl issue
Brought to you by:
jeffmurphy
|
From: Thilo S. <thi...@ap...> - 2013-03-25 20:34:31
|
It looks like that one ticket contains attachment data. Input for an
attachment field must be specified in the @fields array as follows:
$attachment_field_id, {'name' => $fileName, 'size' => length($data),
'buffer' => $data },
where $fileName is the name of the attachment file (to be displayed in
the attachment pool) and $data is the actual attachment content
(probably represented by the "Q'\x96Y`G\x03\xcc\x9b\xdc2}\xf5\x...." in
the ticket description).
Best regards,
Thilo Stapff
On 25.03.2013 20:29, Victor Chavez wrote:
> We are running this code:
>
> ARS::ars_SetEntry($ctrl, 'HPD:Help Desk', 'INC000002149624', 0, @fields) ;
>
> and getting this error:
>
> [ERROR] Must specify 'size' key. (ARERR #80025)
>
> Note that @fields is a large array: it has about 280 entries some of
> whose values are several dozen K bytes.
>
> We can run other ARS Perl code including ticket create and other kinds
> of update without error. Only this one ticket will generate this
> error; other tickets run with no problem. Of potential interest: the
> ticket description contains many lines like:
>
> Q'\x96Y`G\x03\xcc\x9b\xdc2}\xf5\xee\xdb\xa5\xf0\x7f\xbf^\x01\x18\xa9\x06W]7W\r\x13mV\x8c\xbb\xf2)\xb6\x06\xd2\x0ct
>
> We are running Remedy 7.1 on Red Hat Enterprise Linux AS release 4
> (Nahant Update 9, 2.6.9-103.ELsmp, 32bit) and running version 1.91 of
> the ARS Perl libraries.
>
> Any suggestions greatly appreciated.
>
> -Victor
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
>
>
> --
> Arsperl-users mailing list
> Ars...@li...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
|