sul-dlss-deprecated / dor-services

Common services, models, and utility classes used by the Stanford Digital Repository (DOR == Digital Object Registry)
Other
8 stars 4 forks source link

Undefined method `+' for nil:NilClass #651

Closed jcoyne closed 5 years ago

jcoyne commented 5 years ago
undefined method `+' for nil:NilClass: /home/lyberadmin/dor-utils/shared/bundle/ruby/2.5.0/gems/dor-services-6.8.0/lib/dor/datastreams/content_metadata_ds.rb:171:in `add_virtual_resource'
bin/virtual-merge:34:in `block in merge'

Root cause of https://github.com/sul-dlss/dor-utils/issues/17

ndushay commented 5 years ago

Process directly from fixing this to sul-dlss/dor-utils#17 Do not pass go. Do not collect $200. :-)

Actually, it would be awesome to at least put a note in sul-dlss/dor-utils#17 that this is fixed; if possible, try running the virtual-merge script and check logs and results to see if it worked ...

ndushay commented 5 years ago

confirmed that the fix works.