[Export As JSON] Exports with Objects using Conditional Styling can cause multiple files to be saved #6566
Closed
4 of 7 tasks
Labels
Milestone
Summary
Sometimes, when exporting to JSON, if the export includes an object that has conditional styling, multiple json files will be saved. The reason for this seems to be a race condition triggered between the interplay of these two methods: https://github.com/nasa/openmct/blob/master/src/plugins/exportAsJSONAction/ExportAsJSONAction.js#L215-L277
Expected vs Current Behavior
One JSON file should be exported, the action should wait until all items have been processed.
Steps to Reproduce
Impact Check List
The text was updated successfully, but these errors were encountered: