Fixes issue-324 (ClassCastException in web-console sensors) Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/f8510ccd Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/f8510ccd Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/f8510ccd
Branch: refs/heads/0.4.0 Commit: f8510ccde843a07a4e4fa238602a88cfec808ed5 Parents: dd7a297 Author: Aled Sage <[email protected]> Authored: Thu Sep 27 15:53:19 2012 +0100 Committer: Aled Sage <[email protected]> Committed: Thu Sep 27 15:53:19 2012 +0100 ---------------------------------------------------------------------- .../utils/brooklyn/web/console/entity/SensorSummary.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/f8510ccd/usage/web-console/grails-app/utils/brooklyn/web/console/entity/SensorSummary.groovy ---------------------------------------------------------------------- diff --git a/usage/web-console/grails-app/utils/brooklyn/web/console/entity/SensorSummary.groovy b/usage/web-console/grails-app/utils/brooklyn/web/console/entity/SensorSummary.groovy index 5826ef7..664da7b 100644 --- a/usage/web-console/grails-app/utils/brooklyn/web/console/entity/SensorSummary.groovy +++ b/usage/web-console/grails-app/utils/brooklyn/web/console/entity/SensorSummary.groovy @@ -40,7 +40,7 @@ public class SensorSummary { for (NamedActionWithUrl h: RendererHints.getHintsFor(sensor, NamedActionWithUrl)) { String target = h.getUrlFromValue(value); if (target) - actions << [name: h.actionName, url: target] + actions << [name: h.getActionName(), url: target] } }
