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

83 datacite endpoint credentials save error #1824

Merged
merged 5 commits into from
Jul 19, 2022

Conversation

selamhabteab
Copy link
Contributor

@selamhabteab selamhabteab commented Jul 14, 2022

Fix issue 83 in UTK https://gitlab.com/notch8/utk-hyku/-/issues/83
Summary

Issue observed: DataCite Endpoint credentials do not save on the global /proprietor/accounts/#/edit form (AKA superadmin tenant account edit form). This blocks testing for DOIs.

Changes proposed in this pull request:

  • app/views/proprietor/accounts/edit.html.erb -- Corrected data_cite_endpoint and added a select input for testing/production. Undecided about select input. Will need reviewer to determine if it should be implemented or omitted.
  • app/controllers/proprietor/accounts_controller.rb -- Current blocker with updating edit_account_params due to "unpermitted parameters".

@selamhabteab selamhabteab self-assigned this Jul 14, 2022
@selamhabteab selamhabteab marked this pull request as draft July 14, 2022 21:41
@ShanaLMoore
Copy link
Collaborator

ShanaLMoore commented Jul 15, 2022

This is working for me 🎉
Screen Shot 2022-07-15 at 8 55 52 AM

<%= s.input :mode, required: false %>
<h3><%= t(".data_cite_endpoint") %></h3>
<%= f.simple_fields_for :data_cite_endpoint do |s| %>
<%= s.input :mode, collection: ['test', 'production'], required: false %>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Undecided about select input. Will need reviewer to determine if it should be implemented or omitted.

@selamhabteab selamhabteab marked this pull request as ready for review July 15, 2022 16:33
@selamhabteab selamhabteab merged commit d6f400b into main Jul 19, 2022
@bkiahstroud bkiahstroud deleted the 83-datacite-endpoint-credentials-save-error branch February 1, 2023 00:10
@bkiahstroud bkiahstroud added the patch-ver for release notes label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants