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

migration: commit parent if Datacite DOIs are disabled #2934

Open
wants to merge 1 commit into
base: maint-v12.x
Choose a base branch
from

Conversation

J4bbi
Copy link
Contributor

@J4bbi J4bbi commented Dec 9, 2024

Description

Migrating a repository from v. 11 to v. 12 that does not have Datacite enabled does not work because the parent record's owned_by property to does not get committed (see code).

The parent record's commit is conditional on Datacite being enabled (see code).

This simple PR adds an else commit to fix that.

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Frontend

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

Copy link
Contributor

@tmorrell tmorrell left a comment

Choose a reason for hiding this comment

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

Thanks, that makes sense.

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.

2 participants