DANS - 9707/Second fix for #9677#9706
Conversation
|
@qqmyers if existing tests are already catching this bug why aren't they failing in the develop branch? Why did the regression need to be discovered manually? The latest API test run for develop shows no failures: https://jenkins.dataverse.org/job/IQSS-dataverse-develop/1406/testReport/edu.harvard.iq.dataverse.api/ |
|
OK - new test now passes. Not sure what is up with the MoveIT test - that doesn't seem related. Perhaps timing related again? Otherwise, I think this is ready for review. |
Should be fixed here: |
|
@qqmyers thanks for the test! I'm just recording here the output I see from the new test on develop where I expect it to fail (then I'll go run the test on your branch): |
|
I merged develop in and ran the test locally. Works great. Here are the variables being tested: |

What this PR does / why we need it: In removing extra fields from the main json export, the fix in #9677 also removed them from file details where they need to be. This PR leverages the boolean flag introduced in #9695 to just add the extra fields when called to create the file details json export.
Which issue(s) this PR closes:
Closes #9707
Special notes for your reviewer: discussed in https://iqss.slack.com/archives/C03R1E7T4KA/p1689347480349959
Suggestions on how to test this: Verify that DDI exports in the exports menu have variable level metadata and that the main json export does not.
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Is there a release notes update needed for this change?:
Additional documentation: