Open bwatson78 opened 1 month ago
The Attempting to edit a FileSet produces this error
has been sent to Samvera as a bug: https://github.com/samvera/hyrax/issues/6863
Just confirmed that the Attempting to save banner image produces the following error:
behavior is appearing in OE24. Extracting this out to separate bug ticket.
Going through the collection objects after each visibility change, I see that the SolrDocument associated to the Fedora object takes in the correct visibility, but the new desired visibility never persists to the ACL associated to the Publication. Since this behavior isn't present in our non-pair-tree'd setup, I'm reporting this as a bug to Hyrax.
The bug associated to Attempting to edit and save a work results in this error:
is the only issue I could easily fix. that bug fix is included in the adds_pair_tree_to_storage
branch.
The Collection edit form doesn't reflect correct Discovery visibility.
issue has been reported to Hyrax via https://github.com/samvera/hyrax/issues/6864
Attempting to edit and save a work results in this errorundefined method `to_model' for nil:NilClass
Extracted source (around line #23):
21 22 23 24 25 26
Trace of template inclusion: #<ActionView::Template bundle/ruby/3.2.0/bundler/gems/hyrax-59a42adfd57e/app/views/hyrax/file_sets/edit.html.erb locals=[]>
Rails.root: /app Application Trace | Framework Trace | Full Trace actionpack (6.1.7.8) lib/action_dispatch/routing/polymorphic_routes.rb:314:in
handle_list' actionpack (6.1.7.8) lib/action_dispatch/routing/polymorphic_routes.rb:218:in
polymorphic_method' actionpack (6.1.7.8) lib/action_dispatch/routing/polymorphic_routes.rb:139:inpolymorphic_path' hyrax (59a42adfd57e) app/helpers/hyrax/file_set_helper.rb:20:in
parent_path' app/views/hyrax/file_sets/_form.html.erb:23 actionview (6.1.7.8) lib/action_view/helpers/capture_helper.rb:45:inblock in capture' actionview (6.1.7.8) lib/action_view/helpers/capture_helper.rb:209:in
with_output_buffer' actionview (6.1.7.8) lib/action_view/helpers/capture_helper.rb:45:incapture' actionview (6.1.7.8) lib/action_view/helpers/form_helper.rb:450:in
form_for' simple_form (5.1.0) lib/simple_form/action_view_extensions/form_helper.rb:27:inblock in simple_form_for' simple_form (5.1.0) lib/simple_form/action_view_extensions/form_helper.rb:46:in
with_simple_form_field_error_proc' simple_form (5.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:insimple_form_for' app/views/hyrax/file_sets/_form.html.erb:1 actionview (6.1.7.8) lib/action_view/base.rb:247:in
public_send' actionview (6.1.7.8) lib/action_view/base.rb:247:in_run' actionview (6.1.7.8) lib/action_view/template.rb:154:in
block in render' activesupport (6.1.7.8) lib/active_support/notifications.rb:205:ininstrument' actionview (6.1.7.8) lib/action_view/template.rb:345:in
instrument_render_template' actionview (6.1.7.8) lib/action_view/template.rb:152:inrender' xray-rails (f121814718c9) lib/xray/engine.rb:27:in
render_with_xray' actionview (6.1.7.8) lib/action_view/renderer/partial_renderer.rb:285:inblock in render_partial_template' activesupport (6.1.7.8) lib/active_support/notifications.rb:203:in
block in instrument' activesupport (6.1.7.8) lib/active_support/notifications/instrumenter.rb:24:ininstrument' activesupport (6.1.7.8) lib/active_support/notifications.rb:203:in
instrument' actionview (6.1.7.8) lib/action_view/renderer/partial_renderer.rb:280:inrender_partial_template' actionview (6.1.7.8) lib/action_view/renderer/partial_renderer.rb:271:in
render' actionview (6.1.7.8) lib/action_view/renderer/renderer.rb:81:inrender_partial_to_object' actionview (6.1.7.8) lib/action_view/renderer/renderer.rb:53:in
render_partial' actionview (6.1.7.8) lib/action_view/helpers/rendering_helper.rb:45:in `render' hyrax (59a42adfd57e) app/views/hyrax/file_sets/edit.html.erb:34