'non-assignable' JS error in NG LI

Bug #1608462 reported by Rob Cresswell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Critical
Tyr Johanson

Bug Description

Seeing the following error in the new Launch Instance wizard in master:

angular.js:12783 Error: [$compile:nonassign] Expression '$isAvailableTable ? ctrl.availableTableConfig : ctrl.allocatedTableConfig' in attribute 'config' used with directive 'hzDynamicTable' is non-assignable!
http://errors.angularjs.org/1.4.10/$compile/nonassign?p0=%24isAvailableTabl…eTableConfig%20%3A%20ctrl.allocatedTableConfig&p1=config&p2=hzDynamicTable
    at angular.js:68
    at parentSet (angular.js:9137)
    at parentValueWatch (angular.js:9150)
    at regularInterceptedExpression (angular.js:14752)
    at Scope.$digest (angular.js:16194)
    at Scope.$apply (angular.js:16467)
    at HTMLAnchorElement.<anonymous> (angular.js:24076)
    at HTMLAnchorElement.dispatch (jquery.js:5095)
    at HTMLAnchorElement.elemData.handle (jquery.js:4766)

Tags: angularjs
tags: added: angularjs
Matt Borland (palecrow)
Changed in horizon:
status: New → Confirmed
importance: Undecided → Critical
milestone: none → newton-3
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/350593

Changed in horizon:
assignee: nobody → Matt Borland (palecrow)
status: Confirmed → In Progress
Changed in horizon:
assignee: Matt Borland (palecrow) → Tyr Johanson (tyr-6)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/346269
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=7339641fac40787dee8474be5cd6939291d55b0d
Submitter: Jenkins
Branch: master

commit 7339641fac40787dee8474be5cd6939291d55b0d
Author: Tyr Johanson <email address hidden>
Date: Fri Jul 22 16:53:49 2016 -0600

    Allow listFunction extra params

    ---
    Includes numerous bug fixes to hz-dynamic-table and friends to be
    responsive to dynamic table configurations or trackBy expressions.
    ---

    Some resource types (like subnets) can only be listed for a given
    parent container (like networks). This patch modifies the
    hz-resource-table to allow a user to pass in extra paramters that
    will be passed to the list function for a given resource type.

    For example usage: See DNSaaS
    https://review.openstack.org/#/c/341182/9/designatedashboard/static/designatedashboard/resources/os-designate-recordset/details/zone-recordsets.html

    For example:
    This allows hz-resource-table to be used to show a list of subnets
    as one of the details views for a network. The details view
    controller passes in the current network ID as an extra paramter
    to the hz-resource-table, which in turn, supplies that value to
    the subnets list function. The subnets list function can use
    the parameters it is given to build the appropriate API call.

    This is very similar to what already exists to pass server search
    parameters from magic search to the API in the angular images
    table.

    Change-Id: I90c851aef0a452e4e8ef39e938ac3ca67a93cfac
    Partially-Implements: blueprint angular-registry
    Closes-Bug: 1608462

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Matt Borland (<email address hidden>) on branch: master
Review: https://review.openstack.org/350593

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 10.0.0.0b3

This issue was fixed in the openstack/horizon 10.0.0.0b3 development milestone.

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.