Commit 5e12a011 authored by Gradl, Tobias's avatar Gradl, Tobias

Update mappingEditor.graph.js

parent 3c4fa882
Pipeline #13292 passed with stages
in 1 minute and 51 seconds
......@@ -257,6 +257,7 @@ MappingEditor.prototype.getMappings = function(selectedItemIds) {
}
catch (e) {
__notifications.showMessage(NOTIFICATION_TYPES.ERROR, "Unknown source element", "" + data[i].sourceElementIds[j] + " mapping cell: " + data[i].id, "err-" + data[i].sourceElementIds[j], false);
console.log("Unknown source element", "" + data[i].sourceElementIds[j] + " mapping cell: " + data[i].id);
}
}
for (var j=0; j<data[i].targetElementIds.length; j++) {
......@@ -265,9 +266,10 @@ MappingEditor.prototype.getMappings = function(selectedItemIds) {
}
catch (e) {
__notifications.showMessage(NOTIFICATION_TYPES.ERROR, "Unknown target element", "" + data[i].targetElementIds[j] + " mapping cell: " + data[i].id, "err-" + data[i].sourceElementIds[j], false);
console.log("Unknown target element", "" + data[i].sourceElementIds[j] + " mapping cell: " + data[i].id);
}
}
if (lhs != null && rhs != null) {
if (lhs.length>0 && rhs.length>0) {
_this.graph.addMappingConnection(lhs, rhs, data[i].id, false, data[i].name);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment