eclipse-4diac / 4diac-ide

Eclipse Public License 2.0
19 stars 30 forks source link

Socket is not visible in Adapter Type functional block #373

Open ShantKhatri opened 3 months ago

ShantKhatri commented 3 months ago

The newly created Socket is not visible when we create a new Socket from the Plugs & Sockets tab in the properties section when the functional block type is Adapter image

While the behavior in the case of FBType is Basic Functional Block: image

Steps to Reproduce

  1. Create a New Type with the type label Adapter
  2. Open the created type in the workspace
  3. Go to the Plugs & Sockets Tab inside Properties
  4. Create a New Socket
bwiesmayr commented 3 months ago

As pointed out in direct communication, the bug here is that you were able to create an adapter within an adapter in the first place. So the correct behavior is that the activity that you performed is not possible anymore. Maybe you can check whether the provided PR fixes the problem.

azoitl commented 3 months ago

@bwiesmayr thx for the clarification. I was not sure if there is another error. But from the pictures I noticed that there is something in the ui that shouldn't be there. As I was working on adapter related problems I though it would be a nice fix.