<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 05:57:31 CET 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Magnolia - Issue tracker</title>
    <link>https://jira.magnolia-cms.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-uk</language>    <build-info>
        <version>9.4.2</version>
        <build-number>940002</build-number>
        <build-date>19-01-2023</build-date>
    </build-info>


<item>
            <title>[MGNLINTEMPL-3] templates in workspace: load template from workspace</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLINTEMPL-3</link>
                <project id="10286" key="MGNLINTEMPL">Magnolia In-place templating Module (closed)</project>
                    <description>&lt;p&gt;Load the templates from the workspace (before they are loaded from the classpath). Few points have to be considered:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;ensure that the templates are cached / flushed on change&lt;/li&gt;
	&lt;li&gt;make the freemarker helper configurable (c2b) to customize the template loading&lt;/li&gt;
	&lt;li&gt;the workspace loader is not CE but ME only&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="15309">MGNLINTEMPL-3</key>
            <summary>templates in workspace: load template from workspace</summary>
                <type id="5" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10896&amp;avatarType=issuetype">Sub-task</type>
                            <parent id="15307">MGNLINTEMPL-1</parent>
                                    <priority id="3" iconUrl="https://jira.magnolia-cms.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="had">Jan Haderka</assignee>
                                    <reporter username="pbaerfuss">Philipp B&#228;rfuss</reporter>
                        <labels>
                            <label>mme_sprint2</label>
                    </labels>
                <created>Tue, 30 Sep 2008 16:34:34 +0200</created>
                <updated>Mon, 2 Dec 2013 16:59:01 +0100</updated>
                            <resolved>Wed, 8 Oct 2008 08:26:26 +0200</resolved>
                                    <version>1.0</version>
                                    <fixVersion>1.0</fixVersion>
                                    <component>base system</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="18414" author="had" created="Tue, 7 Oct 2008 09:57:02 +0200"  >&lt;p&gt;Caching/Flushing of templates is controlled by &lt;tt&gt;CacheStorage&lt;/tt&gt; rather then by &lt;tt&gt;TemplateLoader&lt;/tt&gt; directly. All template loader has to do is to deliver correct last update date of the template when asked.&lt;br/&gt;
For more details on caching see last section of &lt;a href=&quot;http://freemarker.sourceforge.net/docs/pgui_config_templateloading.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://freemarker.sourceforge.net/docs/pgui_config_templateloading.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In might be interesting to make &lt;tt&gt;CacheStorage&lt;/tt&gt; configuration loaded via c2b.&lt;/p&gt;</comment>
                            <comment id="18415" author="pbracher" created="Tue, 7 Oct 2008 10:04:47 +0200"  >&lt;p&gt;could we not cache the mod date in the template loader and just flush based on observation?&lt;/p&gt;</comment>
                            <comment id="18420" author="had" created="Tue, 7 Oct 2008 13:38:45 +0200"  >&lt;p&gt;This is how caching works currently:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;By default TemplateLoader are queried for values every 5 seconds. This can be changed at configuration level by calling &lt;tt&gt;Configuration.setTemplateUpdateDelay(int seconds)&lt;/tt&gt;.&lt;/li&gt;
	&lt;li&gt;When called, following sequence is executed:
	&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
		&lt;li&gt;loader.findTemplate()&lt;/li&gt;
		&lt;li&gt;loader.getLastUpdateDate()&lt;/li&gt;
		&lt;li&gt;loader.getReader()&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;so IMHO caching the update date doesn&apos;t solve anything.&lt;br/&gt;
What we might want to do is to change the interval in which cached entries are rechecked for update, or set this interval to &quot;never&quot; and manually flush the template cache on template update.&lt;br/&gt;
At the moment I can&apos;t see any slowdown or significant overhead with current settings. Timing the operations above shows on average cca 1ms execution time for each op.&lt;br/&gt;
Note: The update interval is time elapsed since any given template was checked last time, not the fixed tick applied to all templates every time template is requested.&lt;/p&gt;
</comment>
                            <comment id="18439" author="had" created="Wed, 8 Oct 2008 08:26:26 +0200"  >&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;TemplateLoaders are now configurable via c2b&lt;/li&gt;
	&lt;li&gt;JcrRepoTemplateLoader is installed only with ME&lt;/li&gt;
	&lt;li&gt;As for caching we keep the default FM settings of caching (recheck templates for updates if elapsed time since last use is more then 5 seconds). This can be revisited later if necessary.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10111" key="com.atlassian.jira.toolkit:reporterdomain">
                        <customfieldname>Company</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>woowai.com</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10031" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 7 Oct 2008 09:57:02 +0200</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_12730" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14151" key="com.atlassian.jira.toolkit:message">
                        <customfieldname>Docu info</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10061" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comm is not jira-dev</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10071" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last participant</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ajones</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            15 years, 20 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10020" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10150" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>had</customfieldvalue>
            <customfieldvalue>pbaerfuss</customfieldvalue>
            <customfieldvalue>pbracher</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02dtj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13976</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14145" key="com.intenso.jira.issue-templates:issue-templates-customfield">
                        <customfieldname>Template</customfieldname>
                        <customfieldvalues>
                            


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_15131" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Time in Discovery</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>