eclipse-capella / capella

Open Source Solution for Model-Based Systems Engineering
https://mbse-capella.org
Eclipse Public License 2.0
239 stars 98 forks source link

[AFM] Modeling project can not be opened any more #758

Closed eclipse-capella-bot closed 3 years ago

eclipse-capella-bot commented 3 years ago

Attachment: ecoreProject.zip patch file called testxm~1.pat

Steps to reproduce:

Because of the check done in MelodyTeamSessionFactory.checkMetaData, all Sirius projects that do not have the afm file are considered as invalid.

This issue is a regression from Capella 1.1.x.

This issue is blocker for every user that would have to manage their own model and representation through a sirius project.

🆔 ECLIPSE-554277 / POLARSYS-1758 👷 laurent.fasani 📅 2017-09-28 🔎 1.2.0

eclipse-capella-bot commented 3 years ago

laurent.fasani commented on 2017-09-28

Actually the afm check is done is SessionMetadataHelper.checkMetadata

maxime.porhel commented on 2017-09-29

It seems that org.polarsys.kitalpha.ad.services.manager.ViewpointManager.checkViewpointsCompliancy(ResourceSet) should check that the context is in a Capella project

maxime.porhel commented on 2017-09-29

Or the session factory should do this check before calling the KitAlpha check.

jean.barata commented on 2017-10-16

fixed

ghanshyamsinh.devda commented on 2017-10-18

ok