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

returnDatasetFieldTypes=true not working on non-root collection inheriting "citation" from root #10984

Closed
pdurbin opened this issue Oct 30, 2024 · 0 comments · Fixed by #10985
Assignees
Labels
FY25 Sprint 9 FY25 Sprint 9 (2024-10-23 - 2024-11-06) GREI Re-arch Issues related to the GREI Dataverse rearchitecture Original size: 10 Size: 10 A percentage of a sprint. 7 hours. SPA.Q4.10 Resolve TODOs and tech debt SPA These changes are required for the Dataverse SPA Type: Bug a defect
Milestone

Comments

@pdurbin
Copy link
Member

pdurbin commented Oct 30, 2024

To reproduce:

Expected results: "fields" should be populated with title, etc. from the citation block.

Actual results: "fields" is an empty object

{
  "status": "OK",
  "data": [
    {
      "id": 1,
      "name": "citation",
      "displayName": "Citation Metadata",
      "displayOnCreate": true,
      "fields": {}
    }
  ]
}

See also:

You can see this in action at https://beta.dataverse.org/api/dataverses/testCollection/metadatablocks?onlyDisplayedOnCreate=true&returnDatasetFieldTypes=true

If you go to https://beta.dataverse.org/spa/datasets/testCollection/create not how no fields are available to fill in:

Screenshot 2024-10-30 at 5 59 01 PM
@pdurbin pdurbin changed the title returnDatasetFieldTypes=true not working on newly created collection returnDatasetFieldTypes=true not working on non-root collection inheriting "citation" from root Oct 30, 2024
@GPortas GPortas added Size: 10 A percentage of a sprint. 7 hours. SPA These changes are required for the Dataverse SPA GREI Re-arch Issues related to the GREI Dataverse rearchitecture Original size: 10 SPA.Q4.10 Resolve TODOs and tech debt labels Oct 31, 2024
@GPortas GPortas self-assigned this Oct 31, 2024
@GPortas GPortas added the Type: Bug a defect label Oct 31, 2024
@GPortas GPortas moved this to SPRINT READY in IQSS Dataverse Project Oct 31, 2024
@GPortas GPortas moved this from SPRINT READY to This Sprint 🏃‍♀️ 🏃 in IQSS Dataverse Project Oct 31, 2024
@GPortas GPortas moved this from This Sprint 🏃‍♀️ 🏃 to In Progress 💻 in IQSS Dataverse Project Oct 31, 2024
@GPortas GPortas added the FY25 Sprint 9 FY25 Sprint 9 (2024-10-23 - 2024-11-06) label Oct 31, 2024
@pdurbin pdurbin added this to the 6.5 milestone Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FY25 Sprint 9 FY25 Sprint 9 (2024-10-23 - 2024-11-06) GREI Re-arch Issues related to the GREI Dataverse rearchitecture Original size: 10 Size: 10 A percentage of a sprint. 7 hours. SPA.Q4.10 Resolve TODOs and tech debt SPA These changes are required for the Dataverse SPA Type: Bug a defect
Projects
Status: Done 🧹
Development

Successfully merging a pull request may close this issue.

2 participants