Skip to content

Commit

Permalink
Backport bug fixes from v5 (#796)
Browse files Browse the repository at this point in the history
* include bug fix that was added in #713

* add default methods to #application_parser to avoid failures
  • Loading branch information
alishaevn authored Apr 21, 2023
1 parent 4b49483 commit 02cf019
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/parsers/bulkrax/application_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def visibility
# @see #create_relationships
def create_objects(types = [])
types.each do |object_type|
parser.send("create_#{object_type.pluralize}")
send("create_#{object_type.pluralize}")
end
end

Expand Down
6 changes: 6 additions & 0 deletions app/parsers/bulkrax/oai_dc_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ def collection_entry_class
OaiSetEntry
end

def file_set_entry_class; end

def create_relationships; end

def create_file_sets; end

def records(opts = {})
opts[:metadata_prefix] ||= importerexporter.parser_fields['metadata_prefix']
opts[:set] = collection_name unless collection_name == 'all'
Expand Down

0 comments on commit 02cf019

Please sign in to comment.