New filter by 'Name' in the Package Definition tab use incorrect search algorithm

Bug #1500865 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Medium
Aaron DH

Bug Description

Steps to reproduce:
1. Log in WebUI
2. Navigate to Murano -> Manage -> Package Definitions tab
3. Import a few applications
4. Try to filter by Name
4.1 Select Name in the dropdown menu
4.2 Enter "aaa" in the search field
4.3 Filter

Observed result:
Filter returns applications which have "aaa" names, tags , etc. It means that filter applies not only for names, but for tags and description.

Expected result:

After pressing search with name filter, matches only in package names will be show up.

Such kind of search "look through all package items" works fine in the Applications page, but here it looks strange, because here we specify concrete item for searching.

summary: - New filter by 'Name' in the Package Definition tab works incorrect
+ New filter by 'Name' in the Package Definition tab use incorrect search
+ algorithm
Revision history for this message
Ekaterina Chernova (efedorova) wrote :

Nastya, this is by design, filter is called 'Name', so search is made only by app names

Changed in murano:
status: New → Won't Fix
milestone: none → liberty-rc2
Revision history for this message
Anastasia Kuznetsova (akuznetsova) wrote :

@Ekaterina, no, you don't understand me. I know that filter should look only through names, but it doesn't. It returns apps, for example which have tag = input value in Name filter field too.

description: updated
description: updated
Changed in murano:
status: Won't Fix → New
Dmytro Dovbii (ddovbii)
Changed in murano:
assignee: nobody → Dmytro Dovbii (ddovbii)
Changed in murano:
milestone: liberty-rc2 → mitaka-1
description: updated
Changed in murano:
status: New → Confirmed
importance: Undecided → Medium
Changed in murano:
milestone: mitaka-1 → mitaka-2
Stan Lagun (slagun)
Changed in murano:
assignee: Dmytro Dovbii (ddovbii) → nobody
Aaron DH (aaron.d)
Changed in murano:
assignee: nobody → Aaron DH (aaron.d)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

Fix proposed to branch: master
Review: https://review.openstack.org/263517

Changed in murano:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-dashboard (master)

Fix proposed to branch: master
Review: https://review.openstack.org/263518

Revision history for this message
Aaron DH (aaron.d) wrote :

Search with Name will completely matching package name.

Add search with keyword which will fuzzy matching name, tag..etc

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/263517
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=a757b8f8426881eaf02e13e2a922fd7ae90cf4ee
Submitter: Jenkins
Branch: master

commit a757b8f8426881eaf02e13e2a922fd7ae90cf4ee
Author: Aaron-DH <email address hidden>
Date: Tue Jan 5 09:23:28 2016 +0800

    Modify filter by 'Name' in Package Definition

    Search with name only matches package name and
    search with keyword can matches names, tags ..etc

    Change-Id: Ia86befcf0a126f4e532c847df44170a898b38824
    Closes-Bug: #1500865

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/263518
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=69e7d24a5fec9f8589b57aeff14468f6d7f6a66b
Submitter: Jenkins
Branch: master

commit 69e7d24a5fec9f8589b57aeff14468f6d7f6a66b
Author: Aaron-DH <email address hidden>
Date: Tue Jan 5 09:28:54 2016 +0800

    Modify filter by 'Name' in Package Definition

    Search with name only matches package name and
    search with keyword can matches names, tags ..etc

    Change-Id: I0b717ca97444f690da9f391587d4d7aee1936046
    Depends-On: Ia86befcf0a126f4e532c847df44170a898b38824
    Closes-Bug: #1500865

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.