osate / osate2

Open Source AADL2 Tool Environment
http://osate.org
Eclipse Public License 2.0
39 stars 8 forks source link

Instanciation exception when using connection datasubcomponent -> call.dataaccess #222

Closed facad closed 11 years ago

facad commented 11 years ago

Hello,

Thank you for having resolved the bug on connections between data subcomponents and call parameters. The bug fix is working fine.

However, it's not working for connections between data subcomponent and call data access, like the following example. When I instanciate this AADL model, I obtain an error in "Problems" tab: "Connection source and destination are components: root_impl_Instance.proc.th.constantValue => root_impl_Instance.proc.th.constantValue"

package test2 public with Base_Types; with Data_Model;

subprogram job features param : requires data access Base_Types::Integer; end job;

thread th end th; thread implementation th.impl subcomponents constantValue: data Base_Types::Integer { Data_Model::Initial_Value => ("3"); }; calls seq: { call1: subprogram job; }; connections data access constantValue -> call1.param; end th.impl;

process proc end proc;

process implementation proc.impl subcomponents th: thread th.impl; end proc.impl;

system root end root; system implementation root.impl subcomponents proc: process proc.impl; end root.impl;

end test2;

juli1 commented 11 years ago

Hi, This should be fixed in the last commit. Please comment and/or re-open at your convenience.