Commit 66fc42e5 authored by Romain Bioteau's avatar Romain Bioteau

Merge remote-tracking branch 'origin/master' into dev

parents ec4da4ff ba74202b
......@@ -91,6 +91,9 @@ public class DependenciesCopyCustomMigration extends CustomMigration {
protected Instance newCleanedDocumentDependency(final Instance refElement, final Model model) {
final Instance newInstance = model.newInstance(refElement.getEClass());
newInstance.set("name", refElement.get("name"));
if (newInstance.getEClass().getEStructuralFeature("multiple") != null) {
newInstance.set("multiple", refElement.get("multiple"));
return newInstance;
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