<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 07:31:43 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>[MGNLSTK-925] stk: improve templates: remove generic area scripts (listArea.ftl, singleArea.ftl)</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLSTK-925</link>
                <project id="10287" key="MGNLSTK">Magnolia Standard Templating Kit (closed)</project>
                    <description>&lt;p&gt;the area element should render its sub components if no script is defined, hence the default scripts are obsolete:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;/magnolia-module-standard-templating-kit/src/main/resources/templating-kit/generic/listArea.ftl&lt;/li&gt;
	&lt;li&gt;/magnolia-module-standard-templating-kit/src/main/resources/templating-kit/generic/singleArea.ftl&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;to be done:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;make sure the area element works as described&lt;/li&gt;
	&lt;li&gt;remove the script&lt;/li&gt;
	&lt;li&gt;remove all references to this scripts&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="23155">MGNLSTK-925</key>
            <summary>stk: improve templates: remove generic area scripts (listArea.ftl, singleArea.ftl)</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="23147">MGNLSTK-919</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="pbaerfuss">Philipp B&#228;rfuss</assignee>
                                    <reporter username="pbaerfuss">Philipp B&#228;rfuss</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 Feb 2012 13:34:41 +0100</created>
                <updated>Thu, 22 Mar 2012 17:55:57 +0100</updated>
                            <resolved>Wed, 22 Feb 2012 15:50:59 +0100</resolved>
                                                    <fixVersion>2.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="44563" author="pbaerfuss" created="Tue, 21 Feb 2012 13:43:49 +0100"  >&lt;p&gt;patch:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;### Eclipse Workspace Patch 1.0
#P magnolia-templating
Index: src/main/java/info/magnolia/templating/elements/AreaElement.java
===================================================================
--- src/main/java/info/magnolia/templating/elements/AreaElement.java	(revision 54613)
+++ src/main/java/info/magnolia/templating/elements/AreaElement.java	(working copy)
@@ -254,7 +254,15 @@
                 webContext.push(webContext.getRequest(), webContext.getResponse());
                 setAttributesInWebContext(contextAttributes, WebContext.LOCAL_SCOPE);
                 &lt;span class=&quot;code-keyword&quot;&gt;try&lt;/span&gt; {
-                    renderingEngine.render(areaNode, areaDefinition, contextObjects, &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; AppendableOnlyOutputProvider(out));
+                    AppendableOnlyOutputProvider appendable = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; AppendableOnlyOutputProvider(out);
+                    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt;(StringUtils.isNotEmpty(areaDefinition.getTemplateScript())){
+                        renderingEngine.render(areaNode, areaDefinition, contextObjects, appendable);
+                    }
+                    &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;{
+                        &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; (ContentMap component : components) {
+                            renderingEngine.render(component.getJCRNode(), appendable);
+                        }
+                    }
                 } &lt;span class=&quot;code-keyword&quot;&gt;finally&lt;/span&gt; {
                     webContext.pop();
                     webContext.setPageContext(&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;);

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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_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>true</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>
                            12 years, 5 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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>pbaerfuss</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02fuf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14305</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>