Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylyn-integrators] Creating a query with a duplicate name

While testing my connector, I noticed some odd behavior when creating
queries for the repository.  

If the user creates a query named "My bugs" for the repository, and then
he creates a new query with different criteria that is also named "My
bugs", the existing "My bugs" query is replaced with the new query.
That is, there is no error, but the properties for the "My bugs" query
now show the query criteria that were entered with the most recent New
Query dialog.

Is that normal behavior for a connector?  I wouldn't have expected Mylyn
to replace my old query silently like that.  That is, when creating a
*new* query, if I reuse a query title, it was probably a mistake, right?

Or are other connectors handling this themselves in their
AbstractRepositoryQueryPage?  It seems like collision detection is
something that could be better centralized by the Task List itself.

--
Tom Bryan <tombry@xxxxxxxxx>
Cisco Systems


Back to the top