eclipse-uml2 / uml2

An EMF-based implementation of the UML 2.x metamodel for the Eclipse platform.
Eclipse Public License 2.0
5 stars 4 forks source link

Diagnose missing Profile URI #85

Open eclipse-uml2-bot opened 1 week ago

eclipse-uml2-bot commented 1 week ago

| --- | --- | | Bugzilla Link | 522257 | | Status | NEW | | Importance | P3 enhancement | | Reported | Sep 13, 2017 13:56 EDT | | Modified | Dec 19, 2017 08:06 EDT | | See also | 459606, 522256 | | Reporter | Ed Willink |

Description

Probably the most common problem for OCL UML users is that they neglect to specify an explicit Profile URI. Not a problem in UML, not even possible in UML 2.4. But in Eclipse UML, a Profile implies an embedded EPackage which has an auto-generated changing nsURI. Consequently OCL is struggling to correlate a variety of run-time EPackages with nsURIs and specification UML Profile without URIs. When the correlation fails users get strange obscure Constraint malfunctions.

If the UML Profile URI is explicit, UML2Ecore re-uses it and everything is easy.

Suggest a warning validation in UML for at least a missing URI on a Profile.

Possibly also a warning for a missing URI on a Model.

eclipse-uml2-bot commented 1 week ago

By Ed Willink on Sep 14, 2017 03:34

I think we have INFOs these days. Probably a better severity.