ualbertalib / fcrepo4-oaiprovider

Fedora 4 OAI Provider implementation
3 stars 1 forks source link

Not all sets are included in ListSets response #15

Closed pbinkley closed 7 years ago

pbinkley commented 7 years ago

https://era.library.ualberta.ca/oai?verb=ListSets returns a list of sets with no continuation token, but not all of ERA's collections and communities are included. In particular, the Theses and Dissertations collection (setspec 44558t416) is absent.

jefferya commented 7 years ago

Working notes:

jefferya commented 7 years ago

Possible solutions to the binary/string data:

1) remove is_official property from the query 2) add "or" logic to the query such as: .append(" AND (col.[ualidentifier:is_official] = CAST('" + booleanTrue + "' AS BINARY)") .append(" OR (col.[ualidentifier:is_official] = 'true') ")

Code segment: https://github.com/ualbertalib/fcrepo4-oaiprovider/blob/master/src/main/java/org/fcrepo/oai/service/OAIProviderService.java#L782