Event Lib. JSON without quotes in data.nodes

Enonic version: 6.11.0
OS: Ubuntu

When working with the Event Library the node.data value has no quotes. This makes it harder to use because you can’t use the node.data value directly you need to fix the JSON before parsing it.

(/main.js) {
“type”: “node.created”,
“timestamp”: 1503991194861,
“localOrigin”: true,
“distributed”: true,
“data”: {
“nodes”: "[{id=b0bba767-6c1e-4844-bb73-d6cb27d3f165, path=/b0bba767-6c1e-4844-bb73-d6cb27d3f165, branch=master, repo=tiger-activity}]"

Is this as designed or a bug ?


Hi Runar

We aware of this issue and already registered it in our system. You can follow it up here: https://github.com/enonic/xp/issues/5501. It will be fixed in one of our future releases.