[dashboard][api] filtering by category with unicode in its name is broken.

Bug #1473640 reported by Kirill Zaitsev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Nikolay Starodubtsev
python-muranoclient
Fix Released
High
Nikolay Starodubtsev

Bug Description

To reproduce:

1) add a category with unicode letters in it
2) add packages to that category.
3) navigate to Applications & try to filter by that category

result: no packages are displayed

expected result: packages filtered by said category are displayed.

It is most likely API issue.

It would be wise to allow filtering by category-id, to avoid unicode enc/dec issues

Changed in murano:
status: New → Confirmed
milestone: none → liberty-3
tags: added: api dashboard
Changed in murano:
assignee: nobody → Nikolay Starodubtsev (starodubcevna)
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/205103

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-muranoclient (master)

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

Changed in murano:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-muranoclient (master)

Change abandoned by Nikolay Starodubtsev (<email address hidden>) on branch: master
Review: https://review.openstack.org/205106

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

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

Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :

I believe, that we should not allow accessing objects by name in client. We've just removed this undocumented ability from package api. No need to introduce it for categories.

category-show <ID> works just fine with categories with unicode names

Changed in python-muranoclient:
status: New → Won't Fix
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on murano (master)

Change abandoned by Nikolay Starodubtsev (<email address hidden>) on branch: master
Review: https://review.openstack.org/205103

Changed in python-muranoclient:
assignee: nobody → Nikolay Starodubtsev (starodubcevna)
status: Won't Fix → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-muranoclient (master)

Reviewed: https://review.openstack.org/206610
Committed: https://git.openstack.org/cgit/openstack/python-muranoclient/commit/?id=92b30c30f42840230192d362fb0e8d1ba5b99a0b
Submitter: Jenkins
Branch: master

commit 92b30c30f42840230192d362fb0e8d1ba5b99a0b
Author: Nikolay Starodubtsev <email address hidden>
Date: Tue Jul 28 19:25:36 2015 +0300

    Add ability to filter from categories with unicode

    Change-Id: I31974dc6044ffcd7411e0a5ed95b2599587004fa
    closes-bug: 1473640

Changed in python-muranoclient:
status: In Progress → Fix Committed
Changed in murano:
status: In Progress → Fix Committed
Changed in murano:
status: Fix Committed → Fix Released
Changed in python-muranoclient:
milestone: none → 0.7.0
status: Fix Committed → Fix Released
importance: Undecided → Low
status: Fix Released → Confirmed
milestone: 0.7.0 → 0.7.1
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
importance: Low → High
milestone: 0.7.1 → 0.7.0
tags: added: kilo-backport-potential
Changed in murano:
milestone: liberty-3 → 1.0.0
Changed in murano:
milestone: 1.0.0 → 1.0.1
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.