Closed mjordan closed 8 years ago
Github issue: https://github.com/bondjimbond/islandora_badges/issues/1
Adds check for presence of MODS datastream before applying XPath query.
Objects that lacked a MODS datastream, like collection objects, were causing errors.
In this branch view an object that does not have a MODS datastream. No errors should appear.
@bondjimbond
Github issue: https://github.com/bondjimbond/islandora_badges/issues/1
What does this Pull Request do?
Adds check for presence of MODS datastream before applying XPath query.
What's new?
Objects that lacked a MODS datastream, like collection objects, were causing errors.
How should this be tested?
In this branch view an object that does not have a MODS datastream. No errors should appear.
Additional Notes
Interested parties
@bondjimbond