GUI -- Fix topology message handler to only store the "memento" part of the updateMeta message.
Change-Id: Ia3d55acbb623b5750405669c0e3b7f0db1b136d2
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -313,7 +313,7 @@ public abstract class TopologyMessages { | ... | @@ -313,7 +313,7 @@ public abstract class TopologyMessages { |
| 313 | // Updates meta UI information for the specified object. | 313 | // Updates meta UI information for the specified object. |
| 314 | protected void updateMetaUi(ObjectNode event) { | 314 | protected void updateMetaUi(ObjectNode event) { |
| 315 | ObjectNode payload = payload(event); | 315 | ObjectNode payload = payload(event); |
| 316 | - metaUi.put(string(payload, "id"), payload); | 316 | + metaUi.put(string(payload, "id"), (ObjectNode) payload.path("memento")); |
| 317 | } | 317 | } |
| 318 | 318 | ||
| 319 | // Returns device details response. | 319 | // Returns device details response. | ... | ... |
-
Please register or login to post a comment