Skip to content

Commit

Permalink
Add a note about a broken method
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jun 15, 2017
1 parent ea14eb0 commit 21eb1e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/importer/factory/object_factory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ def transform_attributes
.merge(file_attributes)
end

# NOTE: This approach is probably broken since the actor that handled
# the `:files` attribute no longer exists:
# https://github.com/samvera/hyrax/commit/3f1b58195d4381c51fde8b9149016c5b09f0c9b4
def file_attributes
files_directory.present? && files.present? ? { files: file_paths } : {}
end
Expand Down

0 comments on commit 21eb1e6

Please sign in to comment.