{"action":"closed","issue":{"url":"https://api.github.com/repos/osate/osate2-core/issues/505","labels_url":"https://api.github.com/repos/osate/osate2-core/issues/505/labels{/name}","comments_url":"https://api.github.com/repos/osate/osate2-core/issues/505/comments","events_url":"https://api.github.com/repos/osate/osate2-core/issues/505/events","html_url":"https://github.com/osate/osate2-core/issues/505","id":47880978,"number":505,"title":"Nested Feature Group Connections Required '<->' to Avoid Error","user":{"login":"esorton","id":7027899,"avatar_url":"https://avatars.githubusercontent.com/u/7027899?v=3","gravatar_id":"","url":"https://api.github.com/users/esorton","html_url":"https://github.com/esorton","followers_url":"https://api.github.com/users/esorton/followers","following_url":"https://api.github.com/users/esorton/following{/other_user}","gists_url":"https://api.github.com/users/esorton/gists{/gist_id}","starred_url":"https://api.github.com/users/esorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esorton/subscriptions","organizations_url":"https://api.github.com/users/esorton/orgs","repos_url":"https://api.github.com/users/esorton/repos","events_url":"https://api.github.com/users/esorton/events{/privacy}","received_events_url":"https://api.github.com/users/esorton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/osate/osate2-core/labels/category:bug","name":"category:bug","color":"e11d21"},{"url":"https://api.github.com/repos/osate/osate2-core/labels/importance:medium","name":"importance:medium","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"klreamsei","id":10516180,"avatar_url":"https://avatars.githubusercontent.com/u/10516180?v=3","gravatar_id":"","url":"https://api.github.com/users/klreamsei","html_url":"https://github.com/klreamsei","followers_url":"https://api.github.com/users/klreamsei/followers","following_url":"https://api.github.com/users/klreamsei/following{/other_user}","gists_url":"https://api.github.com/users/klreamsei/gists{/gist_id}","starred_url":"https://api.github.com/users/klreamsei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klreamsei/subscriptions","organizations_url":"https://api.github.com/users/klreamsei/orgs","repos_url":"https://api.github.com/users/klreamsei/repos","events_url":"https://api.github.com/users/klreamsei/events{/privacy}","received_events_url":"https://api.github.com/users/klreamsei/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2014-11-05T20:02:01Z","updated_at":"2015-03-13T16:57:41Z","closed_at":"2015-03-13T16:57:41Z","body":"The package below has a nested feature group and a nested system.  When trying to connect a nested feature group to the nested system, an error is generated UNLESS the direction is `<->`.  Using `->` fails regardless of the order of the features for the connection.  I see this quite a bit within my real system; the example below is a simplified version.\r\n\r\n    package bug\r\n    public\r\n        -- Feature group with the data port.\r\n        feature group fgA\r\n        features                                                                                                                                              \r\n           o1: out data port;\r\n        end fgA;\r\n    \r\n        -- Nested feature group.\r\n        feature group fgB\r\n        features\r\n                fg1: feature group fgA;\r\n        end fgB;\r\n    \r\n        -- Sender system.\r\n        system sys1\r\n        features\r\n                o: feature group fgB;\r\n        end sys1;\r\n        \r\n        -- Receiver system.\r\n        system sys2\r\n        features\r\n                i: feature group inverse of fgB;\r\n        end sys2;\r\n        \r\n        -- Inner system in receiver system that receives nested feature group.\r\n        system inner\r\n        features\r\n                fg1: feature group inverse of fgA;\r\n        end inner;\r\n        \r\n        -- Implementation of the receiver system.\r\n        system implementation sys2.i\r\n        subcomponents\r\n                inner: system inner;\r\n        connections\r\n                c1: feature group i.fg1 -> inner.fg1; -- Fails, must not be out.\r\n                --c1: feature group inner.fg1 -> i.fg1; -- Fails, must not be in.\r\n                --c1: feature group i.fg1 <-> inner.fg1; -- Works.\r\n        end sys2.i;\r\n\r\n        -- Top-level to tie everything together.\r\n        system top\r\n        end top;\r\n        system implementation top.i\r\n        subcomponents\r\n                s1: system sys1;\r\n                s2: system sys2.i;\r\n        connections\r\n                tt: feature group s1.o -> s2.i;\r\n        end top.i;\r\n    end bug;                       \r\n\r\nIt seems that `->` should work and does if the nested feature group is dropped.  Not sure if this is a bug or if I have a error."}}