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

Elaborate "Key not found: doi" Error Message When Adding a Work Without DOI Service #356

Open
nomadicoder opened this issue Dec 2, 2013 · 0 comments

Comments

@nomadicoder
Copy link
Contributor

Attempted to add a work in a curate app using "Starting a New Curate Based Application" in https://github.com/projecthydra/curate/blob/master/README.md. Both specified to and not to remotely mint DOI's.

Steps as follows:

Either case fails

  • Answered 'y' to

    Would you like to use jettywrapper for your SOLR and Fedora?

  • Started Hydra:Jetty server

  • Agreed to terms of service agreement

  • Completed user profile

  • Clicked 'plus' button and selected "Adding an Article"

Got error page

KeyError at /concern/articles/new
key not found: :doi

With trace dump:

Hydra::RemoteIdentifier::Configuration#find_remote_service  hydra-remote_identifier (0.6.1) lib/hydra/remote_identifier/configuration.rb, line 20
Hydra::RemoteIdentifier.remote_service  hydra-remote_identifier (0.6.1) lib/hydra/remote_identifier.rb, line 55
#<Class:0x007fb003f53d58>#___sers_skng__rvm_gems_ruby_______p____curate_no_doi_gems_curate_______app_views_curation_concern_base__form_doi_html_erb___2768855590727271116_70197022069520 curate (0.5.6) app/views/curation_concern/base/_form_doi.html.erb, line 1
block in ActionView::Template#render  actionpack (4.0.0) lib/action_view/template.rb, line 143
ActiveSupport::Notifications.instrument  activesupport (4.0.0) lib/active_support/notifications.rb, line 161
ActionView::Template#render  actionpack (4.0.0) lib/action_view/template.rb, line 141

Provide message to inform user to provide DOI service.

Cross reference #345

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

1 participant