We are using rt4.4.1 with the now build-in Assets. When bulk-updating a
custom field value for 2 Assets the following Error is logged and the
update fails:
[27811] [Wed Jan 11 13:35:52 2017] [warning]: Use of uninitialized value
$1 in hash element at /opt/rt4/sbin/…/lib/RT/Interface/Web.pm line
3164. (/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:3164)
[27811] [Wed Jan 11 13:35:52 2017] [error]: Can’t call method “new”
without a package or object reference at
/opt/rt4/sbin/…/lib/RT/Interface/Web.pm line 3099.
Line 183 of /opt/rt4/share/html/Asset/Search/Bulk.html seems to be the
problem, if you comment it out
the bulk update works.
# push @tmp_res, ProcessObjectCustomFieldUpdates( Object => $asset,
ARGSRef => %ARGS );
I’m suspect that line 183 shouldn’t be here as the customfields are
updated at line line 185
push @tmp_res, ProcessRecordBulkCustomFields( RecordObj => $asset,
ARGSRef => %ARGS );
Best Regards
MartinOn 2017-01-11 14:11, Michael Hoertnagl wrote:
Hello!
We are using rt4.4.1 with the now build-in Assets. When bulk-updating a
custom field value for 2 Assets the following Error is logged and the
update fails:
[27811] [Wed Jan 11 13:35:52 2017] [warning]: Use of uninitialized
value
$1 in hash element at /opt/rt4/sbin/…/lib/RT/Interface/Web.pm line
3164. (/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:3164)
[27811] [Wed Jan 11 13:35:52 2017] [error]: Can’t call method “new”
without a package or object reference at
/opt/rt4/sbin/…/lib/RT/Interface/Web.pm line 3099.