Book a Demo

Author Topic: Find in Diagrams broken for relations in search  (Read 3045 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Find in Diagrams broken for relations in search
« on: September 21, 2010, 10:16:25 pm »
The Show in Diagrams functionality doesn't seem to be working when used on a relation that was returned as a search result.

Steps to reproduce
- define following search (or something similar based on t_connector)
Code: [Select]
select c.ea_guid as CLASSGUID, c.Connector_Type as ClassType, isnull(c.name,source.name + '.' + target.name) as Name, source.Name as 'Class Name',package.name as 'Package Name' ,package_p1.name as 'Package level -1',package_p2.name as 'Package level -2',package_p3.name as 'Package level -3'
from t_connector as c
join t_object as source on (c.Start_Object_ID = source.Object_ID)
join t_object as target on (c.End_Object_ID = target.Object_ID)
join t_package as package on (source.package_id = package.package_id)
left join t_package as package_p1 on (package_p1.package_id = package.parent_id)
left join t_package as package_p2 on (package_p2.package_id = package_p1.parent_id)
left join t_package as package_p3 on (package_p3.package_id = package_p2.parent_id)
where c.Notes like '%<Search Term>%'
- run search and make sure you have some results
- right click on one of the results
- choose "Find in Diagrams"
- notice that EA takes a very long time to process the request, and then comes up with a huge list of diagrams that have nothing to do with the selected relation in question.

Geert
« Last Edit: September 21, 2010, 10:20:26 pm by Geert.Bellekens »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Find in Diagrams broken for relations in searc
« Reply #1 on: September 22, 2010, 08:16:02 am »
I'm actually surprised that you are getting the option of find in diagrams for connectors.  That functionality only exists for objects.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Find in Diagrams broken for relations in searc
« Reply #2 on: September 22, 2010, 03:25:03 pm »
Yes, and obviously it doesn't work for relations.
Can't be too hard to add can it?

Geert