• Recent
    • Tags
    • Popular
    • Register
    • Login

    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 Mango 5 Documentation Website

    Cannot save Template

    Scheduled Pinned Locked Moved User help
    3 Posts 2 Posters 1.0k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mihairosu
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • phildunlapP Offline
        phildunlap
        last edited by phildunlap

        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

        1 Reply Last reply Reply Quote 0
        • M Offline
          mihairosu
          last edited by

          The hot fix worked, thanks Phil.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post