yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #63617
[Bug 1686431] [NEW] Fix script error in django create instance form.
Public bug reported:
Env: devstack master branch
Reason: not load horizon.instances.js in _scripts.html
Steps to reproduce:
1.Enable 'LAUNCH_INSTANCE_LEGACY_ENABLED = True' and 'LAUNCH_INSTANCE_NG_ENABLED = False'
in openstack_dashboard/local/local_settings.py L:244 & L:245
2. Go to Project/Compute/Instances panel
3. Click Launch Instance button, we'll see the following in console.log
JS error info:
VM22778:3 Uncaught TypeError: Cannot read property 'workflow_init' of undefined
at eval (eval at <anonymous> (732ce617825a.js:48), <anonymous>:3:22)
at eval (<anonymous>)
at 732ce617825a.js:48
at Function.globalEval (732ce617825a.js:48)
at jQuery.fn.init.domManip (732ce617825a.js:412)
at jQuery.fn.init.append (732ce617825a.js:396)
at Object.horizon.modals.success (1fb30c7e6805.js:67)
at Object.success (1fb30c7e6805.js:84)
at fire (732ce617825a.js:208)
at Object.fireWith [as resolveWith] (732ce617825a.js:213)
** Affects: horizon
Importance: Undecided
Assignee: wei.ying (wei.yy)
Status: New
** Changed in: horizon
Assignee: (unassigned) => wei.ying (wei.yy)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1686431
Title:
Fix script error in django create instance form.
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Env: devstack master branch
Reason: not load horizon.instances.js in _scripts.html
Steps to reproduce:
1.Enable 'LAUNCH_INSTANCE_LEGACY_ENABLED = True' and 'LAUNCH_INSTANCE_NG_ENABLED = False'
in openstack_dashboard/local/local_settings.py L:244 & L:245
2. Go to Project/Compute/Instances panel
3. Click Launch Instance button, we'll see the following in
console.log
JS error info:
VM22778:3 Uncaught TypeError: Cannot read property 'workflow_init' of undefined
at eval (eval at <anonymous> (732ce617825a.js:48), <anonymous>:3:22)
at eval (<anonymous>)
at 732ce617825a.js:48
at Function.globalEval (732ce617825a.js:48)
at jQuery.fn.init.domManip (732ce617825a.js:412)
at jQuery.fn.init.append (732ce617825a.js:396)
at Object.horizon.modals.success (1fb30c7e6805.js:67)
at Object.success (1fb30c7e6805.js:84)
at fire (732ce617825a.js:208)
at Object.fireWith [as resolveWith] (732ce617825a.js:213)
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1686431/+subscriptions
Follow ups