<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cannot save Template]]></title><description><![CDATA[<p dir="auto">This template had worked fine for years until I tried updating it a few days ago.  Any idea what's going on?</p>
<p dir="auto"><img src="https://camo.nodebb.org/e5fff44ecd437ff82bc1e3892fe767980679dbf3?url=https%3A%2F%2Fi.imgur.com%2Fb279IsZ.png" alt="0_1481313104893_upload-58fb0c47-505f-4a0f-88d5-dade48979c47" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.mango-os.com/topic/2588/cannot-save-template</link><generator>RSS for Node</generator><lastBuildDate>Tue, 15 Sep 2026 05:54:44 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2588.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 Dec 2016 19:52:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot save Template on Sat, 10 Dec 2016 09:58:13 GMT]]></title><description><![CDATA[<p dir="auto">The hot fix worked, thanks Phil.</p>
]]></description><link>https://forum.mango-os.com/post/13465</link><guid isPermaLink="true">https://forum.mango-os.com/post/13465</guid><dc:creator><![CDATA[mihairosu]]></dc:creator><pubDate>Sat, 10 Dec 2016 09:58:13 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot save Template on Fri, 09 Dec 2016 23:55:01 GMT]]></title><description><![CDATA[<p dir="auto">Hi Mihai,</p>
<p dir="auto">Thanks for bringing that to our attention!</p>
<p dir="auto">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.</p>
<p dir="auto">To fix, edit Mango/web/WEB-INF/dwr.xml around line 125 is</p>
<pre><code>&lt;convert converter="bean" match="com.serotonin.m2m2.view.text.RangeRenderer" javascript="RangeRenderer"/&gt;
</code></pre>
<p dir="auto">it needs to be</p>
<pre><code>&lt;convert converter="bean" match="com.serotonin.m2m2.view.text.RangeRenderer" javascript="RangeRenderer"&gt;
    &lt;param name="exclude" value="unit,renderedUnit"/&gt;
&lt;/convert&gt;
</code></pre>
<p dir="auto">You will have to restart Mango to pick up the fix.</p>
<p dir="auto">Here's a few more keywords so that this is more google friendly:<br />
Unable to save item Cannot format given Object as a Unit Template not saved, invalid values found</p>
]]></description><link>https://forum.mango-os.com/post/13463</link><guid isPermaLink="true">https://forum.mango-os.com/post/13463</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Fri, 09 Dec 2016 23:55:01 GMT</pubDate></item></channel></rss>