Hi there,
after upgrading from RT 4.4.3 to 4.4.6 the REST API didn’t work anymore with that backtrace:
Can't locate object method "as_string" via package "(&(objectClass=posixAccount))" (perhaps you forgot to load "(&(objectClass=posixAccount))"?) at /usr/share/request-tracker4/lib/RT/Authen/ExternalAuth/LDAP.pm line 606.
Stack:
[/usr/share/request-tracker4/lib/RT/Authen/ExternalAuth/LDAP.pm:606]
[/usr/share/request-tracker4/lib/RT/Authen/ExternalAuth.pm:669]
[/usr/share/request-tracker4/lib/RT/Authen/ExternalAuth.pm:408]
[/usr/share/request-tracker4/html/Elements/DoAuth:57]
[/usr/share/request-tracker4/lib/RT/Interface/Web.pm:328]
[/usr/share/request-tracker4/html/autohandler:53]
Looking at the code it seems to me like the ->as_string
shouldn’t be there since $filter
is already a string. I removed it in my RT installation and that seems to have fixed it for me. Wondering if this a bug or I’m doing something else wrong.
Lukas