Bug #7174
closedregister-dataset.cgi fails when string matching on line 5830
0%
Description
PI Alicia Cortes was having an issue with accessing the registry on arcticdata.io. She WAS able to access the registry on arcticdata.io. After watching the logs while she tried to access the registry, this error message was found:
Using a hash as a reference is deprecated at /var/lib/tomcat7/webapps/metacat/cgi-bin/register-dataset.cgi line 195.
Using a hash as a reference is deprecated at /var/lib/tomcat7/webapps/metacat/cgi-bin/register-dataset.cgi line 196.
Smartmatch is experimental at /var/lib/tomcat7/webapps/metacat/cgi-bin/register-dataset.cgi line 1701.
Smartmatch is experimental at /var/lib/tomcat7/webapps/metacat/cgi-bin/register-dataset.cgi line 1706.
Registry Thu Mar 16 16:19:11 2017: Initialized -- stage set:
Registry Thu Mar 16 16:19:11 2017: PID:
Registry Thu Mar 16 16:19:11 2017: validateSession() called.
Registry Thu Mar 16 16:19:11 2017: getTokenInfo() called.
Can't use string ("{"sub":"http:\/\/orcid.org\/0000"...) as a HASH ref while "strict refs" in use at /var/lib/tomcat7/webapps/metacat/cgi-bin/register-dataset.cgi line 5830.
Updated by Bryce Mecum over 7 years ago
Where you say
She WAS able to access the registry on arcticdata.io
Did you mean
She WAS able to access the registry on test.arcticdata.io
?
Updated by Lauren Walker over 7 years ago
- Status changed from New to Resolved
I tracked down the issue to an ASCII character in Alicia Cortéss name being set on the token_info hash. It is set via the Crypt JWT module, so I just needed to update that module on arcticdata.io.