4Science / DSpace

This repository contains the 4Science optimized DSpace & DSpace-CRIS distribution.
https://wiki.lyrasis.org/display/DSPACECRIS/
BSD 3-Clause "New" or "Revised" License
44 stars 63 forks source link

fixes #471 by avoiding NPE when mappableMetadata is null #472

Open olli-gold opened 1 month ago

olli-gold commented 1 month ago

References

Fixes #471

Description

This PR introduces a check for the attribute mappableMetadata. If this attribute is null, nothing should happen.

Instructions for Reviewers

No instructions - it's a very simple PR.

Checklist

This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!