Open-MBEE / exec-cameo-mdk

Cameo plugin for MMS sync and DocGen
https://www.openmbee.org/
Apache License 2.0
52 stars 29 forks source link

MDK doesn't report offending elements on commit #243

Closed wobrschalek closed 1 year ago

wobrschalek commented 1 year ago

When there are certain types of hidden elements at package level (e.g. value specifications, literal strings), a commit of the whole model is aborted but not reported back to CSM. The only way to debug the model is to inspect the backend to find the offending IDs since they cannot be found through the CSM UI. MMS reports back in the response the offending elements but they are not logged.

possible solutions

dlamoris commented 1 year ago

i want to try and test this but md won't even allow me to create a value spec inside a package, not sure how i can recreate the conditions to get the error

dlamoris commented 1 year ago

there is an option under Options > Environment > MDK to Log JSON, it may be broken right now but will be fixed