Error filtering User with javascript disabled

Bug #1117506 reported by Volmar Oliveira Jr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Victoria Martinez de la Cruz

Bug Description

When the filter is used with javascript disabled on browser we got an error regarding get method on user object at line 93 of openstack_dashboard/dashboards/admin/users/tables.py

The fix for this issue is replace the access to the fields with this:

        return [user for user in users
                if q in user.name.lower()
                or q in user.email.lower()]

Changed in horizon:
assignee: nobody → Victoria Martínez de la Cruz (vickymsee)
status: New → Confirmed
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/21816

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

Reviewed: https://review.openstack.org/21816
Committed: http://github.com/openstack/horizon/commit/d25e560f4d3cd6957a466570c2d020fb3d8fc69c
Submitter: Jenkins
Branch: master

commit d25e560f4d3cd6957a466570c2d020fb3d8fc69c
Author: Victoria Martínez de la Cruz <email address hidden>
Date: Tue Feb 12 16:35:56 2013 -0300

    Fixes support for User filtering without JavaScript

    Allows the admin to filter users by name or email
    in Users menu without the need of having JavaScript
    enabled.

    Change-Id: Ice785016df7a95a1b418dcb32a07a7be65f8666c
    Fixes: bug #1117506

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: grizzly-3 → 2013.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.