<?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[Possible bug in Reports module?]]></title><description><![CDATA[<p dir="auto">Hey Guys, I think there may be a bug relating to pathing in the reports module in v4.2.x.</p>
<p dir="auto">When I created a report and ran it, it came up in the logs that it couldn't find /images/logo.png<br />
It seems to be trying to use an absolute path of /images/ instead of a relative path, as I created a sym-link /images/logo.png and linked it to /opt/mango/web/images/logo.png and that fixed the issue.<br />
I don't think everyone would be keen to put a symlink in their root filesystem.</p>
<p dir="auto">I don't suppose that path would be settable anywhere in the GUI?</p>
<p dir="auto">Cheers<br />
Dan</p>
]]></description><link>https://forum.mango-os.com/topic/5333/possible-bug-in-reports-module</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 14:38:50 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/5333.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Oct 2021 06:21:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Possible bug in Reports module? on Mon, 18 Oct 2021 17:44:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dan" aria-label="Profile: dan">@<bdi>dan</bdi></a> said in <a href="/post/27075">Possible bug in Reports module?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: jared-wiltshire">@<bdi>jared-wiltshire</bdi></a> thanks Jared.</p>
</blockquote>
<p dir="auto">No problem, I have committed a fix which will be included in the next Mango core release. The bug was in the core, not the module.</p>
<p dir="auto">As an alternative work-around you could override or create a new email template .ftl file and replace the <code>&lt;@img logo="true"/&gt;</code> with <code>&lt;@img src="logo.png"/&gt;</code></p>
<p dir="auto">To create a new email template for your Excel report -</p>
<ul>
<li>Copy the supplied template to your overrides, e.g. <code>cp /opt/mango/web/modules/excelReports/resources/ftl/excelReports/reportEmailBody.ftl /opt/mango-data/overrides/ftl/excelReports/myTemplate.ftl</code></li>
<li>Restart Mango</li>
<li>Edit your report to use the new template file</li>
</ul>
]]></description><link>https://forum.mango-os.com/post/27076</link><guid isPermaLink="true">https://forum.mango-os.com/post/27076</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Mon, 18 Oct 2021 17:44:41 GMT</pubDate></item><item><title><![CDATA[Reply to Possible bug in Reports module? on Mon, 18 Oct 2021 17:21:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: jared-wiltshire">@<bdi>jared-wiltshire</bdi></a> thanks Jared.</p>
]]></description><link>https://forum.mango-os.com/post/27075</link><guid isPermaLink="true">https://forum.mango-os.com/post/27075</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Mon, 18 Oct 2021 17:21:07 GMT</pubDate></item><item><title><![CDATA[Reply to Possible bug in Reports module? on Mon, 18 Oct 2021 16:18:56 GMT]]></title><description><![CDATA[<p dir="auto">Hey Dan. Thanks for reporting this. This is a bug, we will get a fix out soon.<br />
Thanks,<br />
-Jared</p>
]]></description><link>https://forum.mango-os.com/post/27073</link><guid isPermaLink="true">https://forum.mango-os.com/post/27073</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Mon, 18 Oct 2021 16:18:56 GMT</pubDate></item><item><title><![CDATA[Reply to Possible bug in Reports module? on Mon, 18 Oct 2021 11:22:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/craigweb" aria-label="Profile: craigweb">@<bdi>craigweb</bdi></a> sorry by reports module I mean excelReports module.</p>
<p dir="auto">Cheers</p>
]]></description><link>https://forum.mango-os.com/post/27069</link><guid isPermaLink="true">https://forum.mango-os.com/post/27069</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Mon, 18 Oct 2021 11:22:40 GMT</pubDate></item><item><title><![CDATA[Reply to Possible bug in Reports module? on Mon, 18 Oct 2021 11:19:24 GMT]]></title><description><![CDATA[<p dir="auto">The reports module is not supported in v4.  How did you load the module?</p>
]]></description><link>https://forum.mango-os.com/post/27068</link><guid isPermaLink="true">https://forum.mango-os.com/post/27068</guid><dc:creator><![CDATA[CraigWeb]]></dc:creator><pubDate>Mon, 18 Oct 2021 11:19:24 GMT</pubDate></item></channel></rss>