eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[uml2as] Insufficient robustness #1693

Closed eclipse-ocl-bot closed 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 492426 | | Status | RESOLVED FIXED | | Importance | P3 normal | | Reported | Apr 26, 2016 05:03 EDT | | Modified | May 23, 2016 05:06 EDT | | Depends on | 491587 | | Reporter | Ed Willink |

Description

The fix for Bug 491587 breaks UML2AS which fails with a 'Property has not been converted' diagnostic.

The diagnostic can be improved.

The conversion should be more robust and do as best it can.

The source UML.metamodel.uml is very suspicious and conflicts with OMG's UML.xmi, but the failure looks like a timing bug.

Use the suspect UML I201604250937 build and GIT commit to improve.

commit 6b0ef83c93efc436161a839d198134a6e1960365\ Author: Kenn Hussey kenn.hussey@gmail.com 2016-04-13 15:37:35\ [491587] Making spurious ternary association binary.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Apr 26, 2016 15:22

The lack of robustness is a delusion; the JUnit tests are coded to fail at the first hint of trouble. The normal loader just piles up errors in Resource.errors.

The diagnostic now identifies the bad UML properties.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on May 23, 2016 05:06

Improved diagnostic pusjed to master.