Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Hans Olthof on October 30, 2014, 02:03:29 pm

Title: Model Search in Relationship Matrix
Post by: Hans Olthof on October 30, 2014, 02:03:29 pm
Hi All,

I am having troubles with even basic Model Searches using a Search Term in the Relationship Matrix.

I use the following SQL, which works fine in the standard search (crtl-f):
Code: [Select]
SELECT ea_guid AS CLASSGUID, Object_Type AS CLASSTYPE, Name FROM t_object
where Name LIKE '<Search Term>'

This is fine in the 'find in project'. However, it does not matter what variants of query I use (copying existing ones, variants using #WC# and so on), it will not work in the matrix view. I ether get all elements (like the search term is ignored) or no elements at all.

Strangely, some canned queries (like 'Recently Modified Elements') do work.

Any thoughts?
regards,
Hans
Title: Re: Model Search in Relationship Matrix
Post by: qwerty on October 30, 2014, 09:24:14 pm
Actually I never have used a query in a matrix but for my build 1007 it shows the same behavior: does not work. So you should report that as bug (link bottom right).

I suppose the Search Term is not evaluated correctly. The recently modified query does not have that.

q.