Bug: Panel editor generating wrong XML format


#1

Hi,

Panel/Dashboard Editor

When I create an element tag using the “Add element” button from the “Source editor” tab, it generates the following correct syntax for the payloads:

on-payload='{"status" : "on"}'

If I use the vistual editor “Configure item” it will change the syntax of the payload to this:

on-payload="{"status" : "on"}"

Note that the single quotation marks were converted to double quotation marks and this turns the XML code invalid.

The expected behaviour is to maintain the original syntax or use the standard of double quotation marks for the original generated code:

on-payload="{'status' : 'on'}"

Regards,


#2

Hi Daniel,

Thanks for reporting. Just confirm the bug. We have applied some updates to avoid the problem you describe. It should now as expected.

Best Regards