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

doi: handle UI for optional DOI feature #2933

Merged

Conversation

anikachurilova
Copy link
Member

@@ -33,6 +33,17 @@ def finalize_app(app):

def init_config(app):
"""Initialize configuration."""
record_doi_required = app.config["RDM_PERSISTENT_IDENTIFIERS"]["doi"]["required"]
Copy link
Member

Choose a reason for hiding this comment

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

must not assume that doi is configured

@@ -33,6 +33,17 @@ def finalize_app(app):

def init_config(app):
"""Initialize configuration."""
record_doi_required = app.config["RDM_PERSISTENT_IDENTIFIERS"]["doi"]["required"]
parent_doi_required = app.config["RDM_PARENT_PERSISTENT_IDENTIFIERS"]["doi"][
Copy link
Member

Choose a reason for hiding this comment

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

must not assume that doi is configured

@zzacharo zzacharo force-pushed the optional-doi-feature branch 6 times, most recently from baeddd5 to f3c27a8 Compare December 13, 2024 16:48
@zzacharo zzacharo force-pushed the optional-doi-feature branch from f3c27a8 to 1456436 Compare December 13, 2024 17:30
@zzacharo zzacharo merged commit 339114d into inveniosoftware:master Dec 16, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

DOI: make default option selection configurable
2 participants