rcasteran / jarvis4se

JARVIS for Systems Engineers
https://regis-casteran.gitbook.io/jarvis4se/
MIT License
3 stars 1 forks source link

Allocation of data without producer nor consumer to functional interface #42

Closed rcasteran closed 2 years ago

rcasteran commented 2 years ago

Impacted version jarvis4se version: 1.2.1

Describe the bug Jarvis allows to allocate data that are not producted or not consumed to functional interface

To Reproduce Execute the following commands:

%%jarvis
with test
F is a function
F1 is a function
a is a data
F produces a
F1 consumes a
b is a data
E is a functional element
E1 is a functional element
E allocates F
E1 allocates F1
I_E_E1 is a functional interface
E exposes I_E_E1
E1 exposes I_E_E1
I_E_E1 allocates b

show context E

Jarvis generates the following context diagram and reports the following message:

Data b is allocated to functional interface I_E_E1

Expected behavior Jarvis must support the following situations:

In both cases Jarvis must not update the xml file with the allocation of the data to the functional interface

Screenshots None

Desktop (please complete the following information):