Project

General

Profile

Bug #7174

register-dataset.cgi fails when string matching on line 5830

Added by Lauren Walker over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
registry
Target version:
-
Start date:
03/16/2017
Due date:
03/17/2017
% Done:

0%

Estimated time:
Bugzilla-Id:

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.

History

#1 Updated by Lauren Walker over 2 years ago

  • Assignee deleted (Shaun Walbridge)

#2 Updated by Bryce Mecum over 2 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

?

#3 Updated by Lauren Walker over 2 years ago

Yes, thanks for catching that

#4 Updated by Lauren Walker over 2 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.

Also available in: Atom PDF