sanger / sequencescape

Web based LIMS
MIT License
80 stars 32 forks source link

Y24-107 Sequencescape search function fails to handle exception #4122

Closed neilsycamore closed 3 days ago

neilsycamore commented 1 month ago

When searching 'All' using four digits i.e 1234 Sequencescape returns an exception

Screenshot 2024-05-22 at 10 22 31

An ActionView::Template::Error occurred in searches#index:

Tried to load unspecified class: HashWithIndifferentAccess lib/acts_as_descriptable.rb:49:in `descriptor_hash'


Request:

To resolve: Either:- a) Sequencescape should handle the exception b) Helper text should be added to stop users from searching 'All' with four digits

Relates to RT802971

UAT nts

sdjmchattie commented 3 days ago

Fix confirmed working in Training. This can be progressed to UAT and Production when it won't interfere with testing underway for other stories. @andrewsparkes can mix this in with those changes as they progress.