Book a Demo

Author Topic: InformationItem cannot be used parameter type  (Read 3415 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
InformationItem cannot be used parameter type
« on: April 10, 2009, 05:12:29 pm »
I was trying to use an information item as the type of a parameter and the return type of my operaration. The Application allows me to select the informationItem, but does not retain the information once selected.
Using an InformationItem as type should be allowed as in UML the information item inherits Classifier with inherits Type
The type of the Parameter is of type "Type" so informationItem should be allowed.
Steps to reproduce:
1. Create InformationItem (A)
2. Create operation
3. click on the "..." button to open the "Set Element Classifier" window
4. Select the just created InformationItem and click "OK"
5. Notice that the field "returntype is still empty
for the issue with the parameter type
1. Create InformationItem (A)
2. Create operation
3a. click on the "Edit Parameters" button
3. click on the "..." button to open the "Set Element Classifier" window
4. Select the just created InformationItem and click "OK"
5. notice that the field "Type" is empty

I've sent a bug report to Sparx as well.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: InformationItem cannot be used parameter type
« Reply #1 on: July 16, 2009, 03:07:13 pm »
Checked this issue in 7.5 build 846 and it works now. It could have been fixed earlier though.

Geert