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

alternateIdentifier field is not deletable in Fabrica form #613

Open
KellyStathis opened this issue Jun 3, 2022 · 0 comments
Open

alternateIdentifier field is not deletable in Fabrica form #613

KellyStathis opened this issue Jun 3, 2022 · 0 comments
Assignees

Comments

@KellyStathis
Copy link
Collaborator

KellyStathis commented Jun 3, 2022

Describe the bug

Expected Behaviour

When there are no alternate identifiers in a record, the alternateIdentifiers section should not be there.

Current Behaviour

After adding and removing a blank alternateIdentifier, this blank alternateIdentifier remains in the Fabrica form and metadata.

Steps to Reproduce

  1. Create test DOI with minimal metadata only (no alternateIdentifiers)

Metadata from initial test DOI:

Screen Shot 2022-06-03 at 9 34 16 AM

  1. Click "Update DOI (Form)" and add a blank alternate identifier
    Screen Shot 2022-06-03 at 9 58 06 AM

  2. Click "Update DOI" to save

Metadata after adding blank alternate identifier:
Screen Shot 2022-06-03 at 9 58 58 AM

  1. Click "Update DOI (Form)" again and remove the blank alternate identifier
    Screen Shot 2022-06-03 at 10 00 35 AM

  2. Click "Update DOI" to save

Metadata after removing blank alternate identifier - still shows blank alternate identifier:
Screen Shot 2022-06-03 at 10 01 15 AM

Context (Environment)

Screenshots

See above steps to reproduce.

Further details

I tested this with other fields and it looks like the problem is limited to alternateIdentfier, but it would be good to verify this.

Proposal

Hypothesis

n/a

Possible Implementation

n/a

Front logo Front conversations

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

2 participants