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

ActiveFedora::Base.first fails by assuming id=1 #1254

Closed
atz opened this issue Jun 1, 2017 · 2 comments
Closed

ActiveFedora::Base.first fails by assuming id=1 #1254

atz opened this issue Jun 1, 2017 · 2 comments

Comments

@atz
Copy link
Contributor

atz commented Jun 1, 2017

> ActiveFedora::Base.count
 => 43 
> ActiveFedora::Base.first
 => ActiveFedora::ObjectNotFoundError: Couldn't find ActiveFedora::Base with 'id'=1
@jcoyne
Copy link
Member

jcoyne commented Jun 2, 2017

It's not assuming 1, it's being read from solr

@atz
Copy link
Contributor Author

atz commented Jun 6, 2017

Odd, not sure how that would have been out of sync, but without transactionality, this could still happen anytime during a deletion.

@jcoyne jcoyne closed this as completed Jun 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants