Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index failures on a bunch of LAE items #1468

Open
hackartisan opened this issue Jul 21, 2023 — with Honeybadger · 0 comments
Open

Index failures on a bunch of LAE items #1468

hackartisan opened this issue Jul 21, 2023 — with Honeybadger · 0 comments

Comments

Copy link
Member

hackartisan commented Jul 21, 2023

[DPUL/production] NoMethodError: undefined method `[]' for nil:NilClass

values are nil?

["@value", "pref_label", "skos:prefLabel"].each { |prop| return value[prop] if value[prop] }

example manifest: https://figgy.princeton.edu/concern/ephemera_folders/8d94f764-0954-40e8-ab9b-fece39e6ff7a/manifest

Backtrace

line 72 of [PROJECT_ROOT]/app/values/manifest_metadata.rb: block in transform_value
line 72 of [PROJECT_ROOT]/app/values/manifest_metadata.rb: each
line 72 of [PROJECT_ROOT]/app/values/manifest_metadata.rb: transform_value

View full backtrace and more info at honeybadger.io

@hackartisan hackartisan changed the title [DPUL/production] NoMethodError: undefined method `[]' for nil:NilClass Index failures on a bunch of LAE items Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant