You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current internal data model (mdEditor-JSON) does not include the dictionaryId as an element of the dataDictionary object. The dictionary identifier should be an element of the dataDictionary object (dataDictionary.dictionaryId), similar to how the contact object is structured.
See related issues regarding import and export of mdJSON: #679, #704
Steps to reproduce:
Load a mdEditor record containing a data dictionary
View the data dictionary JSON using: "Dashboard" - "View Dictionaries" - "Preview JSON" (or export dictionary using "Export Selected")
Observed Results:
The dictionary is structured as follows, with the dicionaryId being an element distinct from the dataDictionary object:
{
dataDictionary": {
...various dictionary elements
},
dictionaryId": "df5d4658-dd32-45bd-969a-3313aaf4b848"
}
Desired Results:
The dataDictionary object should contain the dictionaryId element and be structured as follows in the internal mdEditor-JSON, exported mdEditor-JSON, and exported mdJSON:
{
dataDictionary": {
dictionaryId": "df5d4658-dd32-45bd-969a-3313aaf4b848",
...remaining dictionary elements
}
}
The text was updated successfully, but these errors were encountered:
@eyeyellow I think originally we created the UUID for dataDictionary outside of json object for dataDictionary. I am guessing the schema was originally presented that way, but I do have a fix coming in a few minutes that will fix that.
Issue
mdEditor Version (find version under settings):
mdEditor Web Address (enter the URL): v1.2.1, https://github.com/adiwg/mdEditor/tree/405d949e
Issue Description:
The current internal data model (mdEditor-JSON) does not include the
dictionaryId
as an element of thedataDictionary
object. The dictionary identifier should be an element of thedataDictionary
object (dataDictionary.dictionaryId
), similar to how the contact object is structured.See related issues regarding import and export of mdJSON: #679, #704
Steps to reproduce:
Observed Results:
The dictionary is structured as follows, with the
dicionaryId
being an element distinct from thedataDictionary
object:Desired Results:
The
dataDictionary
object should contain thedictionaryId
element and be structured as follows in the internal mdEditor-JSON, exported mdEditor-JSON, and exported mdJSON:The text was updated successfully, but these errors were encountered: