Citation.tsv: set displayOnCreate=TRUE for depositor and dateOfDeposit #10850
Labels
FY25 Sprint 6
FY25 Sprint 6
FY25 Sprint 7
FY25 Sprint 7 (2024-09-25 - 2024-10-09)
GREI Re-arch
Issues related to the GREI Dataverse rearchitecture
Original size: 3
Size: 3
A percentage of a sprint. 2.1 hours.
SPA.Q3
Not related to any specific Q3 feature
SPA
These changes are required for the Dataverse SPA
Milestone
This code change is needed to have the metadata fields in the SPA Create Dataset form match what is in the JSF form.
In the JSF Create Dataset form, metadata fields are displayed if displayOnCreate = TRUE, or if the metadata field has been prefilled with a value. Metadata fields are preset if either with user information or a default value defined in the dataset template (if it exists). The backing bean for the Create Dataset form prefills depositor with the current user, and dateOfDeposit with the current date.
In the SPA, metadata fields are only displayed if displayOnCreate = TRUE. The logic for getting default values from a dataset template hasn't been implemented yet. The prefills for displayed fields are set in the UI, not from the API.
So to match the SPA with the JSF, we need to update depositor and dateOfDeposit with create=TRUE.
The text was updated successfully, but these errors were encountered: