Book a Demo

Author Topic: Archimate 2 bug for creating "device" elements  (Read 5800 times)

stevesavage

  • EA User
  • **
  • Posts: 119
  • Karma: +4/-0
    • View Profile
Archimate 2 bug for creating "device" elements
« on: May 23, 2012, 03:59:59 am »
When I create an Archimate2 Device Element using the "create element" feature from the Project browser, the resulting element does displays as a plain box when dragged to a diagram (no icon in the top right).  The option "Advance -> use rectangular notation is also not available"

When I create the element directly in the diagram using the Toolbox, the element does display using as a box with the device icon in the top right.


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Archimate 2 bug for creating "device" elements
« Reply #1 on: May 23, 2012, 08:33:32 am »
Does it get the correct icon in the project browser?

I've just tried and it works exactly the same way for me.

It did occur to me that UML also defines a device and you could potentially have created that instead. Worth checking although the notation is different (3d box) so I wouldn't expect that to be the case.

stevesavage

  • EA User
  • **
  • Posts: 119
  • Karma: +4/-0
    • View Profile
Re: Archimate 2 bug for creating "device" elements
« Reply #2 on: May 23, 2012, 10:51:29 pm »
@Simon M
Yes, I get the correct icon in the project browser.  
I am definitely using the Archimate2 standard.  

I created a small EA script to compare the properties of an Archimate2 device created using the toolbox vs. one created using the project browser.  The have the same type, stereotype, and metatype, so I'm not sure why they display differently.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Archimate 2 bug for creating "device" elements
« Reply #3 on: May 24, 2012, 09:08:33 am »
Quote
When I create an Archimate2 Device Element using the "create element" feature from the Project browser, the resulting element does displays as a plain box [highlight]when dragged to a diagram[/highlight] (no icon in the top right).  The option "Advance -> use rectangular notation is also not available"

Can you try again please, this time Ctrl+Dragging to the diagram and choosing "Simple link" not "Instance". Does that work?
The Sparx Team
[email protected]

stevesavage

  • EA User
  • **
  • Posts: 119
  • Karma: +4/-0
    • View Profile
Re: Archimate 2 bug for creating
« Reply #4 on: May 24, 2012, 11:47:44 pm »
I tried with holding down the ctrl key and explicitly selecting "simple link" and got the same result.  The box version of the device element without the icon in the upper right.

What I've tried:
  • Created a device element using the project browser, mini-icon in project browser is correct.
  • Drag element to diagram (selecting simple link), element shown using rectangular notation, but without an icon in the upper right.
  • Right-click, selected advanced, the option "use rectangular notation" is not in the menu.

Comparing to creating the element using the toolbox:
  • Created a device element using the toolbox.  Everything works as expected. (icon in upper right)
  • Right-click, selected advanced, the option "use rectangular notation" is in the menu, and I can toggle it on and off.
  • Deleted the element from the diagram.
  • Re-added the element back by dragging from the project browser to the diagram.  Everything works as expected (icon in upper right)

Some property mustn't be set when the element is created in the project browser.
« Last Edit: May 24, 2012, 11:48:11 pm by realitystorm »

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Archimate 2 bug for creating "device" elements
« Reply #5 on: May 27, 2012, 12:51:14 am »
I have just tried this and yes I can confirm I also get the same incorrect results as stevesavage

However if your look closely, the device created from the toolbox renders pale green in the project browser as the device created from the add element toolbar, renders pale blue in the project browser. The icon shape is also slightly different in shape. So I would conclude that using the add element toolbar is creating the incorrect element.

It actually looks identical to an Archimate 1.0 device rather than an Archimate 2.0 device element. Maybe this is the error?

Cheers

Phil
Models are great!
Correct models are even greater!

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Archimate 2 bug for creating "device" elements
« Reply #6 on: May 27, 2012, 01:04:16 am »
Found a solution!

This error occurs for me when [highlight]BOTH Archimate and Archimate 2.0 MDGs are selected.[/highlight]

Deselecting the Architmate MDG whilst leaving Archimate 2.0 MDG selected and everything works as expected.

Having both Archimate MDGs selected appears to confuse the issue!

Cheers

Phil
Models are great!
Correct models are even greater!

stevesavage

  • EA User
  • **
  • Posts: 119
  • Karma: +4/-0
    • View Profile
Re: Archimate 2 bug for creating "device" elements
« Reply #7 on: May 28, 2012, 07:53:07 am »
Thanks Phil, that should work.  We are transitioning from Archimate 1.0 to 2.0, so disabling 1.0 shouldn't be an issue.