[DLUX-81] Yang UI - Filtering in topology list is not functioning Created: 21/Apr/16  Updated: 17/Jun/16

Status: In Review
Project: dlux
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Daša Šimková Assignee: Lubomir Balogh
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: JPEG File Topology list filter is not functioning.jpg    
External issue ID: 5774

 Description   

Yang UI - Filtering in topology list is not functioning

Reproduction steps:
1. Dlux -> Yang UI
2. Select network-topology rev.2013-10-21 in API tree
3. Navigate to config -> network-topology -> topology

{topology-id}

4. Click + button to add topology id to topology list
5. Add 3 topologies with ids 1, 2 and 3.
6. Click filter icon to filter in topology list.
7. Insert "3" (one of topology ids you have added) and click "Ok"
8. Buggy behaviour: No result is returned by application. Console returns error.



 Comments   
Comment by Daša Šimková [ 21/Apr/16 ]

Attachment Topology list filter is not functioning.jpg has been added with description: After Clicking Ok button no result is returned by application. Console returns error.

Comment by Lubomir Balogh [ 27/May/16 ]

Fixed bugs in list controller

https://git.opendaylight.org/gerrit/#/c/39386/

Comment by Daša Šimková [ 13/Jun/16 ]

Retest
1. Yang UI > API > network-topology rev.2013-07-12 > config > click network-topology > expand network-topology arrow expander.
2. PUT 2 topology lists with ids "t0" and "t1".
3. Click filter icon. Add 2 filters, "filter0" with topology-id "t0" and "filter1" with topology-id "t1". Leave only one of the filters active and click OK. Only one topology meeting the filter`s conditions is showed. "Filter successfully activated" alert is showed.
4. Click filter icon. Click "Deactivate all" to deactivate both filters. The application does not return any alert. All topologies are displayed.
5. Click filter icon. Click "funnel" icon next to one of the filters to activate the filter. Click OK. Only one topology meeting the filter`s conditions is showed. "Filter successfully activated" alert is showed.
6. Click filter icon. Click "funnel" icon next to each filter to deactivate the filters. Click OK so that action is triggered. The application does not return any alert. All topologies are displayed.
EXPECTED BEHAVIOUR: Action should be equivalent to one that results from clicking "Deactivate all" button, i.e. the application does not return any alert and all topologies are displayed.
BUGGY BEHAVIOUR: "Filter does NOT match any nodes" alert is displayed an all topologies are listed.

RETEST NOT OK

Comment by Lubomir Balogh [ 17/Jun/16 ]

Fixed in https://git.opendaylight.org/gerrit/#/c/40471/

Generated at Wed Feb 07 19:57:52 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.