Java Script error while using Sign Certificate

Bug #2021588 reported by Stefan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Magnum UI
Fix Released
Undecided
Unassigned

Bug Description

Magnum-UI version: 12.0.1.dev2

While clicking sign certificate button js error occurs:

TypeError: magnum.getCluster(...).success is not a function
    signCertificateController https://ip/static/dashboard/js/output.467f8e27385a.js:1467
    invoke https://ip/static/dashboard/js/output.43a09e34a303.js:1010
    $controllerInit https://ip/static/dashboard/js/output.43a09e34a303.js:1297
    resolveSuccess https://ip/static/dashboard/js/output.43a09e34a303.js:8017
    processQueue https://ip/static/dashboard/js/output.43a09e34a303.js:1581
    scheduleProcessQueue https://ip/static/dashboard/js/output.43a09e34a303.js:1585
    $digest https://ip/static/dashboard/js/output.43a09e34a303.js:1636
    $apply https://ip/static/dashboard/js/output.43a09e34a303.js:1643
    ngEventHandler https://ip/static/dashboard/js/output.43a09e34a303.js:1937
    dispatch https://ip/static/dashboard/js/output.43a09e34a303.js:336
    handle https://ip/static/dashboard/js/output.43a09e34a303.js:309
 Possibly unhandled rejection: {}

Issue occures on firefox and chrome-based browser.
When working via openstack cli client there is no issue.

Revision history for this message
Andrew Bogott (andrewbogott) wrote :

Looks like this is

https://stackoverflow.com/questions/33531336/angularjs-error-success-is-not-a-function

success() was deprecated in current angular versions.

Revision history for this message
Jake Yip (waipengyip) wrote :

Thanks Andrew, the change you proposed in https://review.opendev.org/c/openstack/magnum-ui/+/890158 has been merged.

Changed in magnum-ui:
status: New → Fix Committed
Changed in magnum-ui:
status: Fix Committed → Fix Released
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.