yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #52506
[Bug 1593879] [NEW] hz-cell doesn't handle updates to data
Public bug reported:
Unless you're using a template, hz-cell doesn't handle updates to data.
This is because there is nothing to tell Angular that anything of value
has changed. It's evaluated once and then done.
To solve this, instead of using $scope.column, just pass the column in
explicitly as a parameter. Angular will then know that it's valuable.
You can see this in the implementation of Images
(https://review.openstack.org/#/c/309561/); if you update "Protected" it
is updated in the drawer but not in the table column.
** Affects: horizon
Importance: Undecided
Status: New
** Tags: angularjs
** Tags added: angularjs
--
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/1593879
Title:
hz-cell doesn't handle updates to data
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Unless you're using a template, hz-cell doesn't handle updates to
data. This is because there is nothing to tell Angular that anything
of value has changed. It's evaluated once and then done.
To solve this, instead of using $scope.column, just pass the column in
explicitly as a parameter. Angular will then know that it's valuable.
You can see this in the implementation of Images
(https://review.openstack.org/#/c/309561/); if you update "Protected"
it is updated in the drawer but not in the table column.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1593879/+subscriptions