You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2017/01/23 15:17:26 UTC

[jira] [Comment Edited] (CAY-2185) Modeler: Search selects the wrong object

    [ https://issues.apache.org/jira/browse/CAY-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15834727#comment-15834727 ] 

Nikita Timofeev edited comment on CAY-2185 at 1/23/17 3:16 PM:
---------------------------------------------------------------

Parital fix per https://github.com/apache/cayenne/commit/c24bb767ecdab5860bc3606711f73f7ee805d31e

{quote}
at some point, you will see that selected search result is not highlighted in Modeler in background
{quote}
This one is fixed

{quote}
Issue that reproduces every time:
4. Click on empl.bel_salary search result
-> correct entity relationship is selected
5. Click on empl.salary
-> same relationship is selected
Same for all entities with 2 or more attributes/relationships that contain search text
{quote}
I was unable to trace the root cause of this one. 
The selection is right *after* search results window is closed, think this is some render problems deep inside.

Plus found and fixed another bug hidden, *Enter* key should select result too, useful when navigating via keyboard.


was (Author: ntimofeev):
Parital fix per https://github.com/apache/cayenne/commit/c24bb767ecdab5860bc3606711f73f7ee805d31e

{quote}
at some point, you will see that selected search result is not highlighted in Modeler in background
{quote}
This one is fixed

{quote}
Issue that reproduces every time:
4. Click on empl.bel_salary search result
-> correct entity relationship is selected
5. Click on empl.salary
-> same relationship is selected
Same for all entities with 2 or more attributes/relationships that contain search text
{quote}
I was unable to trace the root cause of this one. 
The selection is right *after* search results window is closed, think this is some render problems deep inside.

> Modeler: Search selects the wrong object
> ----------------------------------------
>
>                 Key: CAY-2185
>                 URL: https://issues.apache.org/jira/browse/CAY-2185
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 4.0.M4
>            Reporter: ana benko
>            Assignee: Nikita Timofeev
>         Attachments: cayenne_Search.png, datamap.map.xml
>
>
> 1. Import DataMap from attachments
> 2. Type 'salary' in search field
> 3. Start clicking on eg. first 4 search results, one after another
> -> at some point, you will see that selected search result is not highlighted in Modeler in background
> It may happen on the 5th, 10th, or any other selection, randomly.  But happens every time.
> Issue that reproduces every time:
> 4. Click on empl.bel_salary search result
> -> correct entity relationship is selected
> 5. Click on empl.salary
> -> same relationship is selected
> Same for all entities with 2 or more attributes/relationships that contain search text



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)