Skip to content
New issue

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

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

Already on GitHub? # to your account

adding a file_set to a collection is allowed and shouldn't be #257

Closed
elrayle opened this issue Dec 18, 2015 · 1 comment
Closed

adding a file_set to a collection is allowed and shouldn't be #257

elrayle opened this issue Dec 18, 2015 · 1 comment

Comments

@elrayle
Copy link
Contributor

elrayle commented Dec 18, 2015

To reproduce...

col = Hydra::Works::Collection.new(id: 'col-1')
fs = Hydra::Works::FileSet.new(id: 'fs-1')

col.members << fs
=> [#<Hydra::Works::FileSet id: "fs-1", head: [], tail: []>]

Should throw an error message. Instead, it incorrectly adds the file set to the collection.

@mjgiarlo
Copy link
Member

I'm working on this one.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants