Author Topic: Port typed by InterfaceBlock not picking up direction for FlowProperty  (Read 260 times)

marke

  • EA User
  • **
  • Posts: 37
  • Karma: +0/-0
    • View Profile
In Build 1309 I am doing the following:

1) Creating an InterfaceBlock with FlowProperties;
2) Giving the FlowProperties directions (in or out);
3) Creating a Block with a port typed by InterfaceBlock;

The issue is that the port's FlowProperties' direction are set to inout (default) not the values specified in 2).

This is similar to http://sparxsystems.com/forums/smf/index.php/topic,30594.msg222869.html#msg222869

Mark


Helmut Ortmann

  • EA User
  • **
  • Posts: 861
  • Karma: +36/-1
    • View Profile
Hi Mark,

please file a bug report.

Kind regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

Helmut Ortmann

  • EA User
  • **
  • Posts: 861
  • Karma: +36/-1
    • View Profile
Re: Port typed by InterfaceBlock not picking up direction for FlowProperty
« Reply #2 on: August 01, 2017, 05:25:57 pm »
Hi Mark,

I just tried <<InterfaceBlock>> with FlowProperties on a Port with EA 13.5.

The ports show the direction of the FlowPoperties.

Kind regards,

Helmut

Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

marke

  • EA User
  • **
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Re: Port typed by InterfaceBlock not picking up direction for FlowProperty
« Reply #3 on: August 14, 2017, 05:45:35 pm »
Hi Helmut,

I am still seeing my problem in 13.5. I have raised a bug report (#17076634). The Sparx response so far is:

"There are actually two "direction" tags with different values for each FlowProperty of the port. One belongs to itself and the another is inherited from the FlowProperty of Block1. You can see both using the docked Tagged Values window (Ctrl+Shift+6). You can delete the first tagged value in the Tagged Values window. We confirm that it is being created by mistake."

My issue is not with what is being shown for port direction on a diagram, that seems to be OK, it is that there are local copies of the FlowProperties for the port and they have their own "direction" tagged value, with default direction (inout), as well as the inherited tagged value for direction.

In my first post I missed a step 4:

4) Select port / Structural Elements / Show Owned/Inherited / Select all

Kind regards,

Mark