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

Avoid NoMethodError in Bulkrax::Importers::Controller#create. #870

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

lsitu
Copy link
Contributor

@lsitu lsitu commented Oct 9, 2023

Import CSV GAM-Test004.csv with empty model value to comet (currently using hyrax-4-rails-6 branch) will trigger NoMethodError in Bulkrax::Importers::Controller#create: undefined method casecmp for nil:NilCLass.

The pull request will avoid the error.

@lsitu lsitu added the bug-fix label Oct 9, 2023
@lsitu lsitu added the patch-ver for release notes label Oct 9, 2023
@dunn dunn merged commit 9968414 into main Oct 10, 2023
6 of 7 checks passed
@dunn dunn deleted the empty-model-error branch October 10, 2023 23:31
jeremyf added a commit that referenced this pull request Jan 24, 2024
* main: (24 commits)
  Retry and delete take 2 (#894)
  🎁 Add `Bulkrax.persistence_adapter` (#895)
  💸 Mint v6.0.1 (#892)
  🐛 Fix #work_identifier_search_field logic (#891)
  💸 Bump to v6.0.0 (#889)
  make search string used to look up objects configurable (#884)
  💸 v5.5.0 (#888)
  unpin dry-monads. its not a dependency of bulkrax (#885)
  fix syntax error in ERB (#883)
  add support for Rails 6, Hyrax 4, and Blacklight 7 (#782)
  Reduce SQL calls when incrementing/decrementing run counters (#881)
  Update readme to remove references to samvera-labs (#880)
  add Compatibility section to readme (#879)
  🐛 Fix tabs for Hydra application (#875)
  Nav-tabs event scoping (#874)
  📚 Update docs in preparation for best practices seminar (#873)
  use the `GlobalID` library tooling to determine global id (#869)
  Avoid NoMethodError in Bulkrax::Importers::Controller#create. (#870)
  preparing to deploy v5.4.1 (#868)
  5.4.0-bug-fixes (#865)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants