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

Properly handle DOI limit reached #36

Closed
mfenner opened this issue Sep 7, 2014 · 1 comment · Fixed by #43
Closed

Properly handle DOI limit reached #36

mfenner opened this issue Sep 7, 2014 · 1 comment · Fixed by #43
Assignees
Labels

Comments

@mfenner
Copy link
Member

mfenner commented Sep 7, 2014

ALM Reports raises an error for queries with more than 2,000 DOIs. This should be handled gracefully.

[FATAL] DoiLimitReachedError (Reached limit of 2000 DOIs):
  app/controllers/application_controller.rb:31:in `[]='
  app/controllers/id_controller.rb:222:in `block in process_upload'
  app/controllers/id_controller.rb:217:in `each'
  app/controllers/id_controller.rb:217:in `process_upload'
  app/controllers/application_controller.rb:105:in `save_session_dois' (pid:27511)
@mfenner mfenner added the bug label Sep 7, 2014
@mfenner mfenner added this to the Iteration 2 milestone Sep 7, 2014
@mfenner mfenner self-assigned this Sep 10, 2014
@mfenner
Copy link
Member Author

mfenner commented Sep 10, 2014

This error is related, and described in #37.

NoMethodError (undefined method `length' for nil:NilClass):
  app/controllers/application_controller.rb:130:in `articleLimitReached?'
  app/controllers/id_controller.rb:14:in `index'
  app/controllers/application_controller.rb:105:in `save_session_dois' (pid:27390)

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

Successfully merging a pull request may close this issue.

1 participant