Closed tiku01 closed 9 years ago
It seems this is the same thing as we fixed for JSON with https://github.com/tiku01/oryx-editor/commit/18e8c655f0715b6e7030b144b6000dc02485b4a9 - attempting a search for "form.items.items[1].getEl().dom.addEventListener('change', function(evt)" here on GitHub (https://github.com/tiku01/oryx-editor/search?utf8=%E2%9C%93&q=form.items.items[1].getEl%28%29.dom.addEventListener%28%27change%27%2C+function%28evt%29) leads to 9 hits in the code. It looks like we need to change the other files accordingly ...
Fixed the event handler that was not importing the file data into the dialog, due to which the error was thrown. Fixed all such event handlers across oryx with #531
BPMN still not fixed (i.e. working while using copy&paste but dysfunctional when selecting file ...
Seems to work now - despite the content-related import-errors
When trying to import an exported BPMN, selecting a file and choosing OK doesn't work. Error message given by UI is "An error occurred while generating the BPMN 2.0 DI XML Serialization". The log-file shows this after the operation:
If one uses copy&paste to input the same file content into the dialogue-box one gets a result (with the problem reported in https://github.com/tiku01/oryx-editor/issues/521). So is the problem with the file content or with the import-routine?