Open
Description
Issue
mdEditor Version (find version under settings): https://github.com/adiwg/mdEditor/tree/405d949e
mdEditor Web Address (enter the URL): https://go.mdeditor.org
Issue Description:
When exporting a mdEditor-Json file (Export All), the records
object contains empty contact
and dataDictionary
arrays. The file also contains the appropriate dictionaries
and contacts
objects as would be expected for the record set (See: min-valid-mdEditor-dict1-20240430.json. The contact and dictionary arrays do not seem to be used.
Steps to reproduce (Bug reports only):
- Import a mdJson file (example: min-valid-mdJson-dict1-20240430.json). Note: this file was exported from min-valid-mdEditor-dict1-20240430.json.
- Export the resulting recordset as mdEditor-Json using the "Export All" function.
- View the exported mdEditor-Json file (mdJson-import-mdeditor-export.json).
- The above exported mdEditor-Json file contains a
contact
and adataDictionary
array within therecords
object. - The above exported mdEditor-Json file also contains
dictionaries
andcontacts
objects
- The above exported mdEditor-Json file contains a
Observed Results (Bug reports only):
- Delete the
contact
anddataDictionary
arrays from the above mdJson-import-mdeditor-export.jsonrecords
object. Import the edited file. The resulting imported recordset matches the original source (min-valid-mdJson-dict1-20240430.json) file. - Repeat the process, this time delete the
contacts
anddictionary
objects from the mdJson-import-mdeditor-export.json file. DO NOT edit therecords
object. Import the edited file. The contacts and dictionaries are not imported.
Expected Results (Bug reports only):
- Importing a mdJson file DOES NOT create
contact
ordataDictionary
arrays within the mdEditorrecords
object. - Exporting a mdEditor-Json file ("Export All" or "Export Selected" functions) does not create
contact
ordataDictionary
arrays within the mdEditor-Jsonrecords
object.