Islandora-Devops / islandora-starter-site

A Drupal site demonstrating Islandora features. Use it as a starting point for customization.
https://sandbox.islandora.ca
GNU General Public License v2.0
4 stars 16 forks source link

Add grouped filter to accommodate null external uris in model. #128

Closed rosiel closed 5 months ago

rosiel commented 5 months ago

Slack conversations:

It was found that the OAI view of MODS breaks (shows <error code="idDoesNotExist">The value of the identifier argument is unknown or illegal in this repository.</error>) if the object's model has no external uri. This can happen if creating custom models.

The view clearly was not meant to exclude objects with null external URI in their Model. After testing, it seems that a views filter of "value is not equal to some-string" also excludes rows where the value does not exist.

This PR adds a grouped filter so it tests if Model's external URI (is null or is not equal to http://purl.org/dc/dcmitype/Collection).

grouped-filter