-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fix FileSet csv rows for AF imports (#954)
This commit will fix the functionality for adding a FileSet row in the CSV to add additional metadata to FileSets. The problem was located in `Bulkrax::ObjectFactory#create_file_set`. When it tries to find a record, it actually comes back as a `FalseClass` because of the new logic introduced recently which breaks further down. If we add raise an error in our `Bulkrax::ImportFileSetJob#find_parent_record` which is at a higher point than before, then we can requeue the job and check again. If the parent record is created by then, we will execute the rest of the job.
- Loading branch information
Showing
1 changed file
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters