JS error in path of angular flavors table.

Bug #1680037 reported by wei.ying
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
In Progress
Undecided
wei.ying

Bug Description

Env: devstack master branch

Steps to reproduce:
1. set 'flavors_panel' is True in the settings.py
2. Go to admin/flavors panel

JS Error info:

830e26e34b64.js:1336 Error: [$parse:syntax] Syntax Error: Token ':' is an unexpected token at column 17 of the expression [os-flavor-access:is_public] starting at [:is_public].
http://errors.angularjs.org/1.5.8/$parse/syntax?p0=%3A&p1=is%20an%20unexpected%20token&p2=17&p3=os-flavor-access%3Ais_public&p4=%3Ais_public
    at http://192.168.122.210:8085/static/dashboard/js/830e26e34b64.js:699:8
    at AST.throwError (http://192.168.122.210:8085/static/dashboard/js/830e26e34b64.js:1378:114)
    at AST.ast (http://192.168.122.210:8085/static/dashboard/js/830e26e34b64.js:1357:889)
    at ASTCompiler.compile (http://192.168.122.210:8085/static/dashboard/js/830e26e34b64.js:1394:107)
    at Parser.parse (http://192.168.122.210:8085/static/dashboard/js/830e26e34b64.js:1439:543)
    at $parse (http://192.168.122.210:8085/static/dashboard/js/830e26e34b64.js:1442:179)
    at Object.link (http://192.168.122.210:8085/static/dashboard/js/830e26e34b64.js:2377:834)
    at http://192.168.122.210:8085/static/dashboard/js/830e26e34b64.js:768:296
    at invokeLinkFn (http://192.168.122.210:8085/static/dashboard/js/830e26e34b64.js:1161:81)
    at nodeLinkFn (http://192.168.122.210:8085/static/dashboard/js/830e26e34b64.js:1110:147) <th ng-repeat="column in config.columns" class="rsp-p{$ column.priority $} ng-scope" st-sort="{$ column.id $}" ng-attr-st-sort-default="{$ column.sortDefault $}" translate="" ng-

wei.ying (wei.yy)
Changed in horizon:
assignee: nobody → wei.ying (wei.yy)
description: updated
wei.ying (wei.yy)
summary: - JS error in path of angular flavor table.
+ JS error in path of angular flavors table.
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/453613

Changed in horizon:
status: New → In Progress
wei.ying (wei.yy)
description: updated
wei.ying (wei.yy)
description: updated
Revision history for this message
Kenji Ishii (ken-ishii) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by wei.ying (<email address hidden>) on branch: master
Review: https://review.openstack.org/453613
Reason: As above comments, other patches have a better solution.

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.