Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

  • This template had worked fine for years until I tried updating it a few days ago. Any idea what's going on?

    0_1481313104893_upload-58fb0c47-505f-4a0f-88d5-dade48979c47


  • Hi Mihai,

    Thanks for bringing that to our attention!

    It looks like the issue is in Mango/web/WEB-INF/dwr.xml and it also looks like it is many versions old. but was expressed because we improved Audit event tracking. I will be sure the fix gets into the next version of the core, but it seems like it only affects this particular use (saving templates with Range renderers) so we may or may not hasten releasing a version with a fix.

    To fix, edit Mango/web/WEB-INF/dwr.xml around line 125 is

    <convert converter="bean" match="com.serotonin.m2m2.view.text.RangeRenderer" javascript="RangeRenderer"/>
    

    it needs to be

    <convert converter="bean" match="com.serotonin.m2m2.view.text.RangeRenderer" javascript="RangeRenderer">
        <param name="exclude" value="unit,renderedUnit"/>
    </convert>
    

    You will have to restart Mango to pick up the fix.

    Here's a few more keywords so that this is more google friendly:
    Unable to save item Cannot format given Object as a Unit Template not saved, invalid values found


  • The hot fix worked, thanks Phil.