<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 07:28:45 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-615] info.magnolia.cms.security.AccessDeniedException resulting in freemarker.template.TemplateModelException</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLSTK-615</link>
                <project id="10287" key="MGNLSTK">Magnolia Standard Templating Kit (closed)</project>
                    <description>&lt;p&gt;This error is also visible on magnolia website. Please look at &lt;br/&gt;
&lt;a href=&quot;http://www.magnolia-cms.com/home/our-company/news/press-releases/old-press-releases/magnolia-4-0-released.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.magnolia-cms.com/home/our-company/news/press-releases/old-press-releases/magnolia-4-0-released.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Maybe the affected nested document level is a noticable information for you. The error occurs at 6th document level, so does mine. &lt;br/&gt;
Is there any need to access the mentioned &quot;extra&quot; object?&lt;/p&gt;

&lt;p&gt;My personal error stack trace is the following:&lt;/p&gt;

&lt;p&gt;FreeMarker template error!&lt;/p&gt;

&lt;p&gt;get(extras) failed on instance of info.magnolia.module.templatingkit.templates.STKTemplateModel&lt;br/&gt;
The problematic instruction:&lt;br/&gt;
----------&lt;br/&gt;
==&amp;gt; list model.extras.column&lt;span class=&quot;error&quot;&gt;&amp;#91;columnIndex&amp;#93;&lt;/span&gt; as extra &lt;span class=&quot;error&quot;&gt;&amp;#91;on line 17, column 5 in templating-kit/templates/global/extrasArea.ftl&amp;#93;&lt;/span&gt;&lt;br/&gt;
 in user-directive extrasColumn &lt;span class=&quot;error&quot;&gt;&amp;#91;on line 13, column 5 in templating-kit/templates/global/extrasArea.ftl&amp;#93;&lt;/span&gt;&lt;br/&gt;
 in include def.extrasArea.template &lt;span class=&quot;error&quot;&gt;&amp;#91;on line 52, column 25 in templating-kit/templates/main.ftl&amp;#93;&lt;/span&gt;&lt;br/&gt;
----------&lt;/p&gt;

&lt;p&gt;Java backtrace for programmers:&lt;br/&gt;
----------&lt;br/&gt;
freemarker.template.TemplateModelException: get(extras) failed on instance of info.magnolia.module.templatingkit.templates.STKTemplateModel&lt;br/&gt;
	at freemarker.ext.beans.BeanModel.get(BeanModel.java:223)&lt;br/&gt;
	at freemarker.core.Dot._getAsTemplateModel(Dot.java:76)&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt;&lt;br/&gt;
Caused by: info.magnolia.cms.security.AccessDeniedException: User not allowed to (Add, Set, Read) path &lt;span class=&quot;error&quot;&gt;&amp;#91;/level1/level2/level3/level4/level5/level6/extras&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at info.magnolia.cms.core.Access.isGranted(Access.java:64)&lt;br/&gt;
	at info.magnolia.cms.core.DefaultContent.&amp;lt;init&amp;gt;(DefaultContent.java:156)&lt;br/&gt;
	at info.magnolia.cms.core.DefaultContent.createContent(DefaultContent.java:194)&lt;br/&gt;
	at info.magnolia.cms.util.ContentWrapper.createContent(ContentWrapper.java:188)&lt;br/&gt;
	at info.magnolia.cms.core.AbstractContent.createContent(AbstractContent.java:75)&lt;br/&gt;
	at info.magnolia.cms.util.ContentUtil.getOrCreateContent(ContentUtil.java:195)&lt;br/&gt;
	at info.magnolia.module.templatingkit.templates.ExtrasAreaModel$1.exec(ExtrasAreaModel.java:71)&lt;br/&gt;
	at info.magnolia.module.templatingkit.templates.ExtrasAreaModel$1.exec(ExtrasAreaModel.java:70)&lt;br/&gt;
	at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:396)&lt;br/&gt;
	at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:371)&lt;br/&gt;
	at info.magnolia.module.templatingkit.templates.ExtrasAreaModel.&amp;lt;init&amp;gt;(ExtrasAreaModel.java:69)&lt;br/&gt;
	at info.magnolia.module.templatingkit.templates.STKTemplateModel.getExtras(STKTemplateModel.java:148)&lt;br/&gt;
	... 129 more&lt;/p&gt;</description>
                <environment></environment>
        <key id="18346">MGNLSTK-615</key>
            <summary>info.magnolia.cms.security.AccessDeniedException resulting in freemarker.template.TemplateModelException</summary>
                <type id="1" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10883&amp;avatarType=issuetype">Bug</type>
                                            <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="jules">Jules S.</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Apr 2010 02:24:17 +0200</created>
                <updated>Tue, 13 Dec 2011 16:57:13 +0100</updated>
                            <resolved>Fri, 12 Nov 2010 13:30:33 +0100</resolved>
                                    <version>1.3</version>
                                    <fixVersion>1.3.6</fixVersion>
                    <fixVersion>1.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="28067" author="gjoseph" created="Wed, 21 Apr 2010 14:21:35 +0200"  >&lt;p&gt;This sounds similar to &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MGNLSTK-499&quot; title=&quot;&amp;quot;ExtrasArea&amp;quot; - Exception on public-instance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MGNLSTK-499&quot;&gt;&lt;del&gt;MGNLSTK-499&lt;/del&gt;&lt;/a&gt;. Current workaround: open the offending page(s) on the author instance. Doing so should trigger the creation of the missing &quot;extras&quot; node on that page. Now activate this page (so the missing &quot;extras&quot; node will be created on the public instance too) and the error message should disappear.&lt;/p&gt;</comment>
                            <comment id="28092" author="pbaerfuss" created="Fri, 23 Apr 2010 09:14:48 +0200"  >&lt;p&gt;The auto-generation must be executed with enough user permissions. This is Ok and I think we should not work around the issue by using the system context instead. But we should improve the templates in a way that they fail more gracefully.  &lt;/p&gt;</comment>
                            <comment id="30178" author="had" created="Wed, 6 Oct 2010 11:22:01 +0200"  >&lt;p&gt;The &lt;tt&gt;content&lt;/tt&gt; passed in the &lt;tt&gt;ContentUtil&lt;/tt&gt; in privileged context was obtained previously with non-privileged hierarchy manager. To fix the issue, this content has to be retrieved again.&lt;/p&gt;</comment>
                            <comment id="30962" author="pbaerfuss" created="Tue, 9 Nov 2010 17:23:07 +0100"  >&lt;p&gt;The current fix breaks the version view as the versioned content hides the fact that it resides in the version store. We should only execute the creation of the node to the system context.&lt;/p&gt;

&lt;p&gt;We should also change the code related to the creation of the main and extra area&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;SingletonParagraphTemplateModel.execute()&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="31041" author="pbaerfuss" created="Fri, 12 Nov 2010 09:41:34 +0100"  >&lt;p&gt;We should use a more generic mechanism (&lt;a href=&quot;https://jira.magnolia-cms.com/browse/MGNLSTK-707&quot; title=&quot;add a method to STKUtil to create nodes privileged&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MGNLSTK-707&quot;&gt;&lt;del&gt;MGNLSTK-707&lt;/del&gt;&lt;/a&gt;) to make sure we are not forgetting anything.&lt;/p&gt;</comment>
                            <comment id="31050" author="pbaerfuss" created="Fri, 12 Nov 2010 13:30:33 +0100"  >&lt;p&gt;resolved by the fix for &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MGNLSTK-706&quot; title=&quot;version view: the elements in the extras area are taken from the current page not the versioned one&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MGNLSTK-706&quot;&gt;&lt;del&gt;MGNLSTK-706&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10040">
                    <name>causality</name>
                                                                <inwardlinks description="is causing">
                                        <issuelink>
            <issuekey id="19313">MGNLSTK-706</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10020">
                    <name>dependency</name>
                                            <outwardlinks description="depends upon">
                                        <issuelink>
            <issuekey id="19315">MGNLSTK-707</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended upon by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>relation</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="22488">MGNLSTK-816</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13382" name="MAGNOLIA-3184-stacktrace.txt" size="12185" author="gjoseph" created="Wed, 21 Apr 2010 14:21:35 +0200"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_14166" key="com.okapya.jira.checklist:checklist">
                        <customfieldname>Acceptance criteria</customfieldname>
                        <customfieldvalues>
                            
        <checklist>
        <![CDATA[
                            




                
                                    <div class="o-completion" style="display: flex; flex-shrink: 0;"><span  class="aui-lozenge aui-lozenge-complete" style="font-size: 12px; font-weight: normal; display: flex; flex-direction: row; align-items: center;" ><span style="padding-right: 4px; vertical-align: middle;"><svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="white"><path clip-rule="evenodd" d="m10.41037,3.42544l-7.86501,0c-0.72395,0 -1.31084,0.58688 -1.31084,1.31084l0,7.86508c0,0.7239 0.58689,1.3108 1.31084,1.3108l7.86501,0c0.724,0 1.3109,-0.5869 1.3109,-1.3108l0,-7.86508c0,-0.72396 -0.5869,-1.31084 -1.3109,-1.31084zm-7.86501,-0.65542c-1.08593,0 -1.96626,0.88032 -1.96626,1.96626l0,7.86508c0,1.0859 0.88033,1.9662 1.96626,1.9662l7.86501,0c1.086,0 1.9663,-0.8803 1.9663,-1.9662l0,-7.86508c0,-1.08594 -0.8803,-1.96626 -1.9663,-1.96626l-7.86501,0z" fill-rule="evenodd"/><path d="m5.09049,10.18526l-1.82767,-1.82766l-0.78479,0.78479l2.61246,2.61246l5.38758,-5.38754l-0.78483,-0.78479l-4.60275,4.60274z"/></svg></span><span>Empty</span></span></div>
                        ]]>
    </checklist>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10111" key="com.atlassian.jira.toolkit:reporterdomain">
                        <customfieldname>Company</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>arcor.de</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10031" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 21 Apr 2010 14:21:35 +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>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10071" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last participant</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>mmuehlebach</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 15 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10020" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10150" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>had</customfieldvalue>
            <customfieldvalue>jules</customfieldvalue>
            <customfieldvalue>gjoseph</customfieldvalue>
            <customfieldvalue>pbaerfuss</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02gjb:</customfieldvalue>

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