Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Richard Phillips on September 17, 2009, 12:08:23 am

Title: Fatal crash when importing a saved search
Post by: Richard Phillips on September 17, 2009, 12:08:23 am
I have tried search for any other posts but the search facility on this forum seems a bit limited.

Using build 848, if I save a custom sql search using the export facility of the manage searches dialog and then try to import that search into an element filter for a document template. EA crashes.

Steps to reproduce...

Choose manage searches
Create a customer sql search e.g.

SELECT t_object.ea_guid AS CLASSGUID, t_object.Object_Type AS CLASSTYPE, t_object.Name, t_object.Alias, t_object.ParentID FROM t_object where object_type = 'Activity'
order by Alias

check that the search works!
export the search to an xml file
close the search window

Open a document generator template
select file -> document options - > element filters
select import search from file
browse to and select the previously exported search file
Click open
The import search dialog appears with an empty list.
The help button does nothing!
The OK button crashes EA

Therefore, how can I ensure that the elements in the generated document are sorted by Alias Name?!!!

Please fix this bug.


Title: Re: Fatal crash when importing a saved search
Post by: Graham_Moir on September 17, 2009, 07:29:54 pm
Have you raised a formal bug report ?   - better chance of it being fixed that way.
Title: Re: Fatal crash when importing a saved search
Post by: Richard Phillips on September 21, 2009, 07:30:18 pm
I raised a bug report and got the following reply...

Quote
With the RTF reporting the only filters supported are the standard
non-SQL filters, the import search 'From EA' does limit these, however
the "From Files" does not.

So it looks like my idea of using custom SQL as an input to a template is a no-no. Annoying cos all I want to do is order the elements by alias name.