Table filter does not support other languages

Bug #1802228 reported by Wangliangyu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Wangliangyu

Bug Description

Example:

- Set the language to others except English
- Access /project/networks/
- Filter by external, such as other languages yes, like Chinese '是'/ Japanese‘はい’...
- Throw "Network list can not be retrieved" error message

Wangliangyu (wangly)
description: updated
description: updated
Changed in horizon:
assignee: nobody → Wangliangyu (wangly)
Wangliangyu (wangly)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

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

Reviewed: https://review.openstack.org/616744
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=02b6c1b405d779d2df7897bf67bc39133069d0e6
Submitter: Zuul
Branch: master

commit 02b6c1b405d779d2df7897bf67bc39133069d0e6
Author: wangliangyu <email address hidden>
Date: Fri Nov 9 10:19:28 2018 +0800

    Make table filters valid for every languages

    As we known, the table support filtered by local language
    with some filters mapping, like below:
    https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/networks/views.py#L46
    We use the filter string given by user and look valid values
    in those filters mapping. But the keys in filters mapping,
    which is django.utils.functional.__proxy__, does not match
    the filter string.
    This commit valid them.

    Change-Id: I40cb50bbf08fc457967615f2654026cfdafb9232
    Closes-Bug: #1802228

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 15.0.0.0b2

This issue was fixed in the openstack/horizon 15.0.0.0b2 development milestone.

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.