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

Create Collection - if "Use metadata fields from [Parent]" is checked, send blocknames & input levels as undefined #539

Closed
g-saracca opened this issue Oct 31, 2024 · 1 comment · Fixed by #540
Labels
bug Something isn't working FY25 Sprint 9 FY25 Sprint 9 (2024-10-23 - 2024-11-06) GREI Re-arch GREI re-architecture-related Original size: 10 Size: 10 A percentage of a sprint. 7 hours. SPA: New Collection Page SPA.Q4 Not related to any specific Q4 feature

Comments

@g-saracca
Copy link
Contributor

As discussed with @pdurbin and @GPortas, we should not send metadata block names & input levels from the create collection form if "Use metadata fields from [Parent]" is checked.
Instead we should send those two properties as undefined. Before we were sending the metadata blocks and input levels that were configured in the parent collection.

@g-saracca g-saracca added bug Something isn't working Size: 10 A percentage of a sprint. 7 hours. GREI Re-arch GREI re-architecture-related SPA: New Collection Page Original size: 10 FY25 Sprint 9 FY25 Sprint 9 (2024-10-23 - 2024-11-06) labels Oct 31, 2024
@g-saracca g-saracca moved this to In Progress 💻 in IQSS Dataverse Project Oct 31, 2024
@g-saracca g-saracca self-assigned this Oct 31, 2024
@pdurbin
Copy link
Member

pdurbin commented Oct 31, 2024

Yes, thanks. That way if the parent changes in the future, the child is not frozen in time. The child will inherit the updated metadata blocks from the parent.

@g-saracca g-saracca removed their assignment Nov 1, 2024
@g-saracca g-saracca added the SPA.Q4 Not related to any specific Q4 feature label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working FY25 Sprint 9 FY25 Sprint 9 (2024-10-23 - 2024-11-06) GREI Re-arch GREI re-architecture-related Original size: 10 Size: 10 A percentage of a sprint. 7 hours. SPA: New Collection Page SPA.Q4 Not related to any specific Q4 feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants