Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian W. Damus2015-01-29 18:54:49 +0000
committerChristian W. Damus2015-01-29 18:59:02 +0000
commit72109763b62f13b750f14e25e1ca969cd9acf449 (patch)
tree127af62a549f5e20efb28f3137c6c2ae39efc05c /tests/junit/plugins/uml/decoratormodel
parentb19746fdb8e067df61a59e12a41d0750cde18620 (diff)
downloadorg.eclipse.papyrus-72109763b62f13b750f14e25e1ca969cd9acf449.tar.gz
org.eclipse.papyrus-72109763b62f13b750f14e25e1ca969cd9acf449.tar.xz
org.eclipse.papyrus-72109763b62f13b750f14e25e1ca969cd9acf449.zip
458736: Opening an element/package imported model causes the stereotype repair dialog to repeatedly popup for any of its fragments/submodels
https://bugs.eclipse.org/bugs/show_bug.cgi?id=458736 Scan for broken stereotypes asynchronously (on the UI thread before the repair dialog is opened) because the resource being loaded may be a sub-unit that is not yet connected to its parent unit. Containment proxy resolution will load the resource before attaching its root element to that root's parent, causing stereotypes that depend on profile applications in the parent unit to appear broken when in fact they aren not.
Diffstat (limited to 'tests/junit/plugins/uml/decoratormodel')
-rw-r--r--tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.tests/src/org/eclipse/papyrus/uml/decoratormodel/tests/StereotypeApplicationRepairTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.tests/src/org/eclipse/papyrus/uml/decoratormodel/tests/StereotypeApplicationRepairTest.java b/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.tests/src/org/eclipse/papyrus/uml/decoratormodel/tests/StereotypeApplicationRepairTest.java
index 1b25b93e04a..7c03ca2b06f 100644
--- a/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.tests/src/org/eclipse/papyrus/uml/decoratormodel/tests/StereotypeApplicationRepairTest.java
+++ b/tests/junit/plugins/uml/decoratormodel/org.eclipse.papyrus.uml.decoratormodel.tests/src/org/eclipse/papyrus/uml/decoratormodel/tests/StereotypeApplicationRepairTest.java
@@ -10,6 +10,7 @@
* Christian W. Damus (CEA) - Initial API and implementation
* Christian W. Damus - bug 399859
* Christian W. Damus - bug 436666
+ * Christian W. Damus - bug 458736
*
*/
package org.eclipse.papyrus.uml.decoratormodel.tests;
@@ -190,7 +191,7 @@ public class StereotypeApplicationRepairTest extends AbstractProfileExternalizat
static class SnippetFixture extends StereotypeApplicationRepairSnippet {
SnippetFixture(Function<? super EPackage, Profile> dynamicProfileSupplier) {
- super(dynamicProfileSupplier);
+ super(null, dynamicProfileSupplier);
}
@Override

Back to the top