archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
914 stars 267 forks source link

Validator and nested elements #1017

Closed romualdrichard closed 5 months ago

romualdrichard commented 5 months ago

Version of Archi

5.2

Archi Plug-ins

N/A

Operating System

Windows

Expected Behaviour

Having two elments with relations. One is a nested relation (Composition) and other just a relation. If you nested the elements, validator is ok.

Actual Behaviour

Having two elments with relations. One is a nested relation (Composition) and other just a relation. If you nested the elements, validator is saying that ther is no nesting relation

Steps to Reproduce the Behaviour

  1. see figure to get the same model
  2. nest applicaiton B in application A 3.Check with validator Capture d’écran 2024-01-24 133257 Capture d’écran 2024-01-24 133511
Phillipus commented 5 months ago

The Association relationship causes the warning. By default, an Association relationship is non-nestable.

romualdrichard commented 5 months ago

Yes, its just confusing since there is a real nested relation.

Phillipus commented 5 months ago

That's the way it works. If there is a non-nestable relationship, it lists it in the Validator. You can simply ignore the warning.