Project

General

Profile

Actions

Bug #7174

closed

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

Added by Lauren Walker over 7 years ago. Updated over 7 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.

Actions #1

Updated by Lauren Walker over 7 years ago

  • Assignee deleted (Shaun Walbridge)
Actions #2

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

?

Actions #3

Updated by Lauren Walker over 7 years ago

Yes, thanks for catching that

Actions #4

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.

Actions

Also available in: Atom PDF