javascript crashes on project create

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

Bug Description

*stable-havana in firefox 24 on windows7*
on create project in horizon javascript terminates script execution.
we have about 180+ users in cloud and 500+ roles
I tried to debug with firebug and it showed that we got response from server on url */projects/create
response contains 125 kilobytes of raw html
(quick html analysis showed that it lists all roles with all users as options so it has at least 90000 potential DOM elements)
I think that response handler cannot append raw html to DOM because of its amount of data.
Probable solution is to get json data from server and to use javascript template engine

Tags: dom javascript
Changed in horizon:
assignee: nobody → Chris Johnson (wchrisjohnson)
Revision history for this message
Chris Johnson (wchrisjohnson) wrote :

The recent bug fix that addressed https://bugs.launchpad.net/horizon/+bug/1411892, also appears to fix this bug.

Changed in horizon:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → kilo-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-3 → 2015.1.0
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.