eXtensibleCatalog / Metadata-Services-Toolkit

Tools for processing and aggregating metadata
Other
6 stars 3 forks source link

Repository Sets aren't showing up in "Browse Records" #629

Open patrickzurek opened 8 years ago

patrickzurek commented 8 years ago

JIRA issue created by: banderson Originally opened: 2011-06-27 08:14 PM

Issue body: (nt)

patrickzurek commented 8 years ago

JIRA Coment by user: jbrand JIRA Timestamp: 2011-06-29 01:11 PM

Comment body:

Excellent analysis queries provided by Ben:

New software (has the problem) curl -s 'http://128.151.244.146:8080/MetadataServicesToolkit/pub/marctoxctransformation/oaiRepository?verb=ListRecords&metadataPrefix=xc&from=2010-07-01' | xmllint --format - | less

Old software (works as expected) curl -s 'http://128.151.244.170:8080/MetadataServicesToolkit/st/marctoxctransformation/oaiRepository?verb=ListRecords&metadataPrefix=xc&from=2010-07-01' | xmllint --format - | less

patrickzurek commented 8 years ago

JIRA Coment by user: jbrand JIRA Timestamp: 2011-06-30 11:41 AM

Comment body:

Resumption token for 128.151.244.170:

2|1000

Resumption token for 128.151.244.146 (lacks set spec):

2010-07-01T04:00:00Z|2011-06-30T11:41:54Z||xc|13171044
patrickzurek commented 8 years ago

JIRA Coment by user: jbrand JIRA Timestamp: 2011-07-08 06:05 PM

Comment body:

jbrand@xc-devel:~$ mysql -u root --password=root -D xc_marctoxctransformation -e "select * from record_sets" +-----------+--------+ | record_id | set_id | +-----------+--------+ | 0 | 0 | +-----------+--------+

patrickzurek commented 8 years ago

JIRA Coment by user: jbrand JIRA Timestamp: 2011-07-08 07:04 PM

Comment body:

jbrand@xc-devel:/xc/MST-instances/MetadataServicesToolkit/logs$ mysql -u root --password=root -D MetadataServicesToolkit -e "select * from sets" +--------+---------------------------------------------+---------------------------------------------------------------+----------------------+-----------------+---------------+-------------+ | set_id | display_name | description | set_spec | is_provider_set | is_record_set | provider_id | +--------+---------------------------------------------+---------------------------------------------------------------+----------------------+-----------------+---------------+-------------+ | 1 | MARCXML Bibliographic Records | A set of all MARCXML Bibliographic records in the repository. | MARCXMLbibliographic | 0 | 1 | 0 | | 2 | MARCXML Holdings Records | A set of all MARCXML holdings records in the repository. | MARCXMLholdings | 0 | 1 | 0 | | 3 | MARCXML Authority Records | A set of all MARCXML Authority records in the repository. | MARCXMLauthority | 0 | 1 | 0 | | 4 | rochester_137:Bibliographic records | NULL | rochester_137:bib | 1 | 0 | 1 | | 5 | rochester_137:Authority records | NULL | rochester_137:auth | 1 | 0 | 1 | | 6 | rochester_137:Holdings record | NULL | rochester_137:hold | 1 | 0 | 1 | | 7 | rochester_137:Classification records | NULL | rochester_137:class | 1 | 0 | 1 | | 8 | rochester_137:Community Information records | NULL | rochester_137:comm | 1 | 0 | 1 | | 9 | NULL | NULL | rochester_137 | 0 | 1 | 1 | | 10 | MARCXML Holding Records | A set of all MARCXML Holding records in the repository. | MARCXMLholding | 0 | 1 | 0 | +--------+---------------------------------------------+---------------------------------------------------------------+----------------------+-----------------+---------------+-------------+

patrickzurek commented 8 years ago

JIRA Coment by user: jbrand JIRA Timestamp: 2011-07-08 07:06 PM

Comment body:

The last input didn't work out too well but the point is there is no marctoxctransformation entry in the sets table, and also the last entry appears to duplicate a previous entry.

(MARCXML Holding Records ) at 2 and at 10

patrickzurek commented 8 years ago

JIRA Coment by user: jbrand JIRA Timestamp: 2011-07-08 07:56 PM

Comment body:

Appears to be working as designed - the processing rule did not have a set name or set spec filled in, and this is optional. Since none defined, none returned. On a system where it is filled in, it continues to be returned. Changing this to 'inquiry.' Note there was a NullPointerException thrown on the CARLI update test machine in a similar area in the code, this may be related, so opened a subcase for that one.