-
Notifications
You must be signed in to change notification settings - Fork 438
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
Fix to Metadata Registry create new metadata schema doesn't appear without reload #1081 #2445
Conversation
Thank you @hugo-escire. I tested the patch and confirmed it fixes the issue. I was able to see the new metadata schema in the registry immediately after saving, without refreshing. So this looks good to me on functionality, but don't understand the TypeScript code so I will let someone else review and approve. |
@hugo-escire looking at this again, I notice that there are many changes to the code that are unrelated to the fix. This makes patches more "noisy" than they need to be, which means reviewing changes is more difficult and merging/rebasing is more likely to conflict due to unnecessary changes in the git history. Would it be possible for you to rework this patch without the formatting changes? Thank you. |
Hi @alanorth, I reverted the format changes. Sorry for the delay. |
@hugo-escire no problem. Thanks for the fix. I will merge this now. I personally try to avoid changes to the code that are not related to the fix, but I think we (the DSpace open source project) are partly to blame because we don't have Angular lint rules to catch these type of changes to whitespace or imports. |
Successfully created backport PR for |
References
Add references/links to any related issues or PRs. These may include:
Description
On Metadata Registry page, when creating a new schema, the new schema is not listed after successful submit.
Name-field keeps old value.
Instructions for Reviewers
Create a new schema, but the doesn't show at least you edit, delete or reload the page.
List of changes in this PR:
Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!
yarn lint
yarn check-circ-deps
)package.json
), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.