sul-dlss / exhibits

Stanford University Libraries online exhibits showcase
https://exhibits.stanford.edu
Other
20 stars 7 forks source link

[exhibits/prod] NoMethodError: undefined method `precision' for #<EDTF::Season:0x...> Did you mean? precise! precise? #2193

Closed cbeer closed 1 month ago

cbeer commented 2 years ago

Backtrace

line 19 of [PROJECT_ROOT]/app/views/metadata/_mods_description.html.erb: _app_views_metadata__mods_description_html_erb__2032262966722884474_1245740
line 4 of [PROJECT_ROOT]/app/views/metadata/_mods_metadata_sections.html.erb: _app_views_metadata__mods_metadata_sections_html_erb__1707533097627158486_1245440
line 1 of [PROJECT_ROOT]/app/views/metadata/_metadata.html.erb: _app_views_metadata__metadata_html_erb__2075611092905343569_1245420

View full backtrace and more info at honeybadger.io

jcoyne commented 1 year ago

Reopening, because this is still occurring in https://github.com/sul-dlss/stanford-mods/blob/ede17062a3c61eeb8badd82ebffb576cb369eb02//lib/stanford-mods/imprint.rb#L236

corylown commented 3 months ago

Here's an example item where this error occurs: https://exhibits.stanford.edu/gatt/catalog/gv903nm4951/

If you click on "More details" the modal opens but is populated with an error message.

Image

dnoneill commented 1 month ago

Haven't been able to replicate.

dnoneill commented 1 month ago

Can view on stage, it looks like the publication date was malformed.

corylown commented 1 month ago

Appears to have been fixed.