Skip to content

Forbid new version of an existing record to use an external DOI #2282

@ptamarit

Description

@ptamarit

Package version (if known): 22.7.3

Describe the bug

When creating a new version of a record with an instance-managed DOI, we should not allow the new version to provide an external DOI.

Steps to Reproduce

  1. Create a record with an instance managed DOI ("No, I need one" to the DOI question)
  2. Create a new version
  3. Choose the option "Yes, I already have one" for the DOI field
  4. The record is properly published

Expected behavior

We should forbid the new version to provide an external DOI

Additional context

This shouldn't be possible, because the user then get stuck, and there is a very limited set of use-cases where this would makes sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions