<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 08:35:16 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>[MGNLUI-272] Properties set on tree root are not aligned properly</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLUI-272</link>
                <project id="10625" key="MGNLUI">Magnolia UI</project>
                    <description>&lt;p&gt;Properties at root level have an offset that makes them look as if they were from the next level (cf. last three properties in attached screenshot)&lt;/p&gt;

&lt;p&gt;Sidenote to check: does it actually make sense to have properties on root node&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;there might be some if tree root is not JCR root&lt;/li&gt;
	&lt;li&gt;properties displayed without their belonging node do certainly not make sense.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="26643">MGNLUI-272</key>
            <summary>Properties set on tree root are not aligned properly</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="26623">MGNLUI-259</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="mgeljic">Mika&#235;l Gelji&#263;</assignee>
                                    <reporter username="mgeljic">Mika&#235;l Gelji&#263;</reporter>
                        <labels>
                    </labels>
                <created>Thu, 29 Nov 2012 15:46:51 +0100</created>
                <updated>Mon, 11 Feb 2013 11:35:43 +0100</updated>
                            <resolved>Fri, 21 Dec 2012 17:08:26 +0100</resolved>
                                    <version>5.0</version>
                                    <fixVersion>5.0</fixVersion>
                                    <component>design</component>
                    <component>tree/list</component>
                        <due></due>
                            <votes>1</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="54271" author="weder" created="Mon, 3 Dec 2012 14:50:31 +0100"  >&lt;p&gt;Added component(s) to make it easier to filter issues.&lt;/p&gt;</comment>
                            <comment id="55024" author="mgeljic" created="Mon, 17 Dec 2012 16:33:14 +0100"  >&lt;p&gt;low-level cause: depth being incorrectly calculated to 1 for root properties.&lt;/p&gt;</comment>
                            <comment id="55030" author="mgeljic" created="Mon, 17 Dec 2012 16:53:04 +0100"  >&lt;p&gt;root cause being server sending incorrect depth as 0 for non-property items under root node.&lt;/p&gt;

&lt;p&gt;JCR spec states that root node is 0 (which we never display in vaadin), first level is 1 for both subnodes and properties of the root node, and so on.&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;HierarchicalJcrContainer#isRoot(Item item)&lt;/tt&gt; is obviously wrong, despite I understand that the level should ultimately be lowered by 1 to set correct padding for 1st level nodes. At least the code of this method looks hardly understandable and introduces a difference between property level and node level. Such difference should not exist.&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;&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt;&#160;&lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt;&#160;isRoot(Item&#160;item)&#160;&lt;span class=&quot;code-keyword&quot;&gt;throws&lt;/span&gt;&#160;RepositoryException&#160;{
    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!item.isNode()) {
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
    }
    &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; depthOfRootNodesInTree = getRootNode().getDepth() + 1;
    &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; item.getDepth() &amp;lt;= depthOfRootNodesInTree;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="55267" author="fgrilli" created="Fri, 21 Dec 2012 15:04:23 +0100"  >&lt;p&gt;Reopened after review.&lt;br/&gt;
Please use camel case for test methods names.&lt;/p&gt;</comment>
                            <comment id="55278" author="mgeljic" created="Fri, 21 Dec 2012 17:08:26 +0100"  >&lt;p&gt;Fixed test methods case in &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MGNLUI-457&quot; title=&quot;Remove underscores in test method names&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MGNLUI-457&quot;&gt;&lt;del&gt;MGNLUI-457&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="17400" name="root-level-properties-misalignment.png" size="55265" author="mgeljic" created="Thu, 29 Nov 2012 15:46:51 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10111" key="com.atlassian.jira.toolkit:reporterdomain">
                        <customfieldname>Company</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>magnolia-cms.com</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10031" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 3 Dec 2012 14:50:31 +0100</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>
                            11 years, 9 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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>weder</customfieldvalue>
            <customfieldvalue>fgrilli</customfieldvalue>
            <customfieldvalue>mgeljic</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i00apj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1771</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10245" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7">Iteration 2013-17</customfieldvalue>
    <customfieldvalue id="8">Beta 2</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>