when filter contains name string, purge prompt does not retrieve object names correctly
Bug #1155821 reported by
Eric Peterson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Lin Hua Cheng |
Bug Description
horizon.tables.js - line 141
Within this file, it create the prompt for the purge batch actions. So for example
You selected "projecta", "projectb". Please confirm this action.
The problem lies when the filter contains a field with the string "name" in it. The jquery location of the table cell finds the cell from the filter, and not the table column heading cell.
Ideally, the method get_object_
Changed in horizon: | |
assignee: | nobody → Lin Hua Cheng (lin-hua-cheng) |
status: | New → Confirmed |
Changed in horizon: | |
importance: | Undecided → Medium |
Changed in horizon: | |
milestone: | none → havana-1 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | havana-1 → 2013.2 |
To post a comment you must log in.
I think on line 141 in that file.... instead of first() - use the last() call.
This would be the quick fix, but again - ideally it seems like get_object_ display( ) should be used for this.