Version 6.0.1.
We tried to add an Owner to an Asset, and received “An internal RT error has occurred’.
The problem seems to have been that we tried to add the Owner as “Firstname Lastname”, but RT couldn’t find that. (The User’s Username is an email address, and the Real Name field is “Lastname, Firstname”.) So, trying to add a non-existent User as Owner to the Asset; mixup on our end, we can deal with it.
But there seems to be an error when trying to create the error message? From the log:
[1730875] [Wed Oct 15 12:33:58 2025] [warning]: Use of uninitialized value $msg in concatenation (.) or string at /opt/rt6/sbin/../lib/RT/Record/Role/Roles.pm line 724. (/opt/rt6/sbin/../lib/RT/Record/Role/Roles.p
m:724)
[1730875] [Wed Oct 15 12:33:58 2025] [error]: Couldn’t load user from value Firstname Lastname, (/opt/rt6/sbin/../lib/RT/Record/Role/Roles.pm:724)
[1730875] [Wed Oct 15 12:33:58 2025] [error]: Can’t use string ("Couldn’t load user: ") as an ARRAY ref while “strict refs” in use at /opt/rt6/share/html/Asset/Create.html line 147.
Stack:
[/opt/rt6/share/html/Asset/Create.html:147]
[/opt/rt6/sbin/../lib/RT/Interface/Web.pm:828]
[/opt/rt6/sbin/../lib/RT/Interface/Web.pm:472]
[/opt/rt6/share/html/autohandler:53] (/opt/rt6/sbin/../lib/RT/Interface/Web/Handler.pm:216)
Is that error happening while trying to generate a more useful message than “An internal RT error”?