Closed dwalt closed 1 year ago
Still investigating...
I'm getting valid output from this mdjson file through the command line translator range.json.zip
It looks like mdEditor isn't sending the "dataDictionary" to the translator when a user clicks on the "translate" button, but that section seems like it gets imported/exported correctly
these files seem to be related to the issue:
mdEditor/app/pods/components/md-translate/component.js
mdEditor/app/services/mdjson.js - line 114 injectDictionaries()
@dwalt does this seem like I'm on the right track?
@timothypage This would make sense in that data dictionaries are exported at translation time with a metadata record based on the dictionary id foreign key. Dictionaries can also be exported independently as well. I don't know if this is the problem. I think there is either a logic problem or something not working right when the writer traps for a range existence and then writes it out as a CSDGM domain. Maybe put a trace on it to see if the logic is working correctly? Looking at the code, I couldn't see anything obviously wrong with it.
Attribute Range domain not being translated from mdJSON. Value range is a series of elements within an attribute that must be detected and described in CSDGM as a range domain (rdom).