NoMethodError in Hyrax::Dashboard::CollectionsController#update
- Upload a banner and a logo to an existing collection
- Click on Save
It displays the error as shown in the screenshot
storage.upload(resource: Hyrax::PcdmCollection.new(id: @collection.id),
file: URI.open(refrenced_s3_file_url),
original_filename: File.join(role, @filename))
logo_info.local_path = find_local_filename(role)
app/services/hyrax/manage_branding_info_using_s3.rb:18:in `create_branding_info'
app/controllers/hyrax/dashboard/collections_controller.rb:322:in `add_new_banner'
app/controllers/hyrax/dashboard/collections_controller.rb:309:in `process_banner_input'
app/controllers/hyrax/dashboard/collections_controller.rb:132:in `process_branding'
app/controllers/hyrax/dashboard/collections_controller.rb:225:in `update_active_fedora_collection'
app/controllers/hyrax/dashboard/collections_controller.rb:125:in `update'
Code: branch https://gitlab.ruhr-uni-bochum.de/FDM/rdm-system/rdms/-/commits/test-0.3.7
Edited by Anusha Ranganathan