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

Remove temporary additions to json export from #9175 #9677

Conversation

qqmyers
Copy link
Member

@qqmyers qqmyers commented Jun 22, 2023

What this PR does / why we need it: In creating the ability to provide variable-level metadata in external exporters, I originally added the required info to the internal json representation. After confirming the approach would work, I created a separate 'fileDetails' json export and adapted the DDIExporter (actually DDIExportUtil class) to use it, but the forgot to restore the internal json representation to its original contents. The accidental additions to that json weren't noticed before the original PR was merged.

Which issue(s) this PR closes:

Closes #

Special notes for your reviewer:

Suggestions on how to test this: Verify that the default json export for a tabular file (with variable-level metadata) doesn't include elements for "restricted", "fileMetadataId", "dataTables", or "varGroups". (The develop branch would have these prior to this PR, but the version 5.13 release would 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:

@qqmyers qqmyers added this to Ready for Review ⏩ in IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) via automation Jun 22, 2023
@qqmyers qqmyers added this to the 5.14 milestone Jun 22, 2023
@sekmiller sekmiller self-assigned this Jun 29, 2023
@sekmiller sekmiller moved this from Ready for Review ⏩ to In Review 🔎 in IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) Jun 29, 2023
IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from In Review 🔎 to Ready for QA ⏩ Jun 29, 2023
@sekmiller sekmiller removed their assignment Jun 29, 2023
@kcondon kcondon self-assigned this Jul 5, 2023
@coveralls
Copy link

Coverage Status

coverage: 20.372% (-0.02%) from 20.396% when pulling 55ec209 on GlobalDataverseCommunityConsortium:DANS-external_exporters into 6053fa3 on IQSS:develop.

@kcondon kcondon merged commit f98636d into IQSS:develop Jul 5, 2023
8 of 9 checks passed
IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from QA ✅ to Done 🚀 Jul 5, 2023
@qqmyers qqmyers mentioned this pull request Jul 5, 2023
kcondon added a commit that referenced this pull request Jul 6, 2023
kcondon added a commit that referenced this pull request Jul 20, 2023
…-external_exporters

DANS - 9707/Second fix for #9677
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants