AtlasOfLivingAustralia / image-service

Image repository and tiling services
https://images.ala.org.au
0 stars 17 forks source link

Existing database records throw when adding duplicate filenames #136

Closed sbearcsiro closed 3 years ago

sbearcsiro commented 3 years ago

An database record that was created in v1.0 of the image service will have NULL for the value of alternateFilename. When attempting to record an alternateFilename for one of these records a NPE will be thrown attempting to access the alternateFilename array.

sbearcsiro commented 3 years ago

Commits 3e91f94f70794dbadff18ef88fb3dfe143d7989f and 38a1c04daa061dec2d7619afe7d1a9cd0ea71d1c deal with issue.