<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Chris,<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 8, 2017, at 15:28, Chris McClement <<a href="mailto:chrisis@bosberaad.com" class="">chrisis@bosberaad.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I'm unable to apply any bulk updates to custom fields in my Asset database. For example, I have a Custom Field called "Asset Category". I have configured the CF to be filled from a dropdown list ("Select one value") and defined a range of categories to select from. Applying a bulk update to assets where I've selected, for example, setting the CF to "PC" (or any of the other options I've defined) fails with the following message displayed in the web browser:<div class=""><br class=""></div><div class=""><span style="font-family: times; font-size: inherit;" class="">An internal RT error has occurred. Your administrator can find more details in RT's log files.</span><br class=""></div><div class=""><span style="font-family: times; font-size: inherit;" class=""><br class=""></span></div>I've had a look in my syslog, and every time I attempt this bulk update, the following two entries appear:<div class=""><span style="font-family: times; font-size: inherit;" class=""><br class=""></span></div><div class=""><div class=""><font face="times" size="3" class="">Feb  9 09:17:06 rt RT: [11319] Use of uninitialized value $1 in hash element at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 3164.</font></div><div class=""><font face="times" size="3" class="">Feb  9 09:17:06 rt RT: [11319] Can't call method "new" without a package or object reference at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 3099.#012#012Stack:#012  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:3099]#012  [/opt/rt4/share/html/Asset/Search/Bulk.html:183]#012  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:696]#012  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:375]#012  [/opt/rt4/share/html/autohandler:53]</font></div><div style="font-family: times; font-size: inherit;" class=""><br class=""></div></div>Does anyone have an ideas what might be causing this?<br class=""></div></div></blockquote><div><br class=""></div>We have a fix for this in the upcoming releases of RT; in the meantime you can apply the patch to your RT instance:</div><div><br class=""></div><div><a href="https://github.com/bestpractical/rt/commit/0cf934de1da1cea2433c9da3946357bda9c16c7f.patch" class="">https://github.com/bestpractical/rt/commit/0cf934de1da1cea2433c9da3946357bda9c16c7f.patch</a></div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class="">For completeness, applying a bulk update to one of the core fields (e.g. "Owner") works fine.</div>
</div></blockquote></div><br class=""></div><div class="">Yes, the bug affects only custom fields.</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Shawn</div></body></html>