<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 07:22:59 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-22] Teasers &amp; Promos IDs: Start counting with 1 not with 0</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLSTK-22</link>
                <project id="10287" key="MGNLSTK">Magnolia Standard Templating Kit (closed)</project>
                    <description>&lt;p&gt;Please start with 1 instead of 0&lt;/p&gt;

&lt;p&gt;now:&lt;br/&gt;
******&lt;br/&gt;
&amp;lt;div class=&quot;teaser&quot; id=&quot;teaser-0&quot;&amp;gt;&lt;br/&gt;
 &amp;lt;div class=&quot;promo&quot; id=&quot;promo-0&quot;&amp;gt;&lt;/p&gt;

&lt;p&gt;Problem:&lt;br/&gt;
CSS: float &amp;amp; Clearing is not working properly because they rely on the correct ids.&lt;/p&gt;

&lt;p&gt;better&lt;br/&gt;
*******&lt;br/&gt;
&amp;lt;div class=&quot;teaser&quot; id=&quot;teaser-1&quot;&amp;gt;&lt;br/&gt;
 &amp;lt;div class=&quot;promo&quot; id=&quot;promo-1&quot;&amp;gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="15662">MGNLSTK-22</key>
            <summary>Teasers &amp; Promos IDs: Start counting with 1 not with 0</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="timowirth">Timo Wirth</reporter>
                        <labels>
                            <label>review-1</label>
                    </labels>
                <created>Wed, 12 Nov 2008 10:33:26 +0100</created>
                <updated>Wed, 23 Jan 2013 08:53:22 +0100</updated>
                            <resolved>Thu, 13 Nov 2008 17:28:25 +0100</resolved>
                                                    <fixVersion>1.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="19304" author="cringele" created="Wed, 12 Nov 2008 10:56:40 +0100"  >&lt;p&gt;Does this count for the &amp;lt;h2 id=&quot;jump0&quot;&amp;gt;first subheading&amp;lt;/h2&amp;gt; count too?&lt;/p&gt;

&lt;p&gt;Because till now they use the same allgorithm (mgnl.siblings).&lt;br/&gt;
So all start till now with &quot;0&quot;.&lt;/p&gt;</comment>
                            <comment id="19318" author="gjoseph" created="Wed, 12 Nov 2008 14:27:56 +0100"  >&lt;p&gt;Yeah, if we change it, we&apos;ll change it for the anchors too. I guess it makes more sense for humans anyhow.&lt;br/&gt;
What I&apos;m not sure about is if we should change&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;the template (&lt;tt&gt;${index + 1&lt;/tt&gt;})&lt;/li&gt;
	&lt;li&gt;the code, by always return 1-based indexes (confusing for developers, or if SiblingsHelper is used in other contexts)&lt;/li&gt;
	&lt;li&gt;the code, by adding another method which returns 1-based indexes, keeping the existing 0-based as well&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="19333" author="pbracher" created="Thu, 13 Nov 2008 16:57:47 +0100"  >&lt;p&gt;I prefer if the caller would pass an attribute to the includeTemplate tag. This gives a certain flexibility in more complex use cases (inheritance for instance).&lt;/p&gt;

&lt;p&gt;But as a quick fix I would use the index + 1 approach.&lt;/p&gt;</comment>
                            <comment id="19335" author="cringele" created="Thu, 13 Nov 2008 17:06:29 +0100"  >&lt;p&gt;If we choose the ${index + 1} approach, shall i change it on teaser&amp;amp;promo ID&apos;s AND the jump&apos;s for the toc, or only teasers&amp;amp;promos ?&lt;br/&gt;
I can do this right now, i start with teasers&amp;amp;promos&lt;/p&gt;</comment>
                            <comment id="19337" author="cringele" created="Thu, 13 Nov 2008 17:13:51 +0100"  >&lt;p&gt;Counting for teasers&amp;amp;promos starts now at 1.&lt;br/&gt;
For TOC  jumps it still must be decided.&lt;/p&gt;</comment>
                            <comment id="19339" author="pbracher" created="Thu, 13 Nov 2008 17:18:19 +0100"  >&lt;p&gt;every indexing starts at level 1 as a normal human being would expect (except java or c developers but which are by definition no normal human beings &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.magnolia-cms.com/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="19341" author="cringele" created="Thu, 13 Nov 2008 17:28:25 +0100"  >&lt;p&gt;There you are absolutely right, even when our numbering system starts with 0 and not 1 and the whole world does not realize it.&lt;br/&gt;
So i prefer to look at it like this:&lt;br/&gt;
The developers are the only ones (probably mathematicians too...) who understood the concept of numbers... but still are weirdos...&lt;/p&gt;

&lt;p&gt;Ok, jumps start now wit &quot;1&quot; too.&lt;/p&gt;
</comment>
                            <comment id="19342" author="gjoseph" created="Thu, 13 Nov 2008 17:34:35 +0100"  >&lt;p&gt;In &lt;a href=&quot;http://java.sun.com/products/jsp/jstl/1.1/docs/api/javax/servlet/jsp/jstl/core/LoopTagStatus.html#getIndex()&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;jstl&lt;/a&gt;, both values are available as &quot;index&quot; (0-based) and &quot;count&quot; (1-based). How about we do the same in SiblingsHelper ?&lt;/p&gt;

&lt;p&gt;(although I&apos;d favor &quot;position&quot; instead of &quot;count&quot; ...)&lt;/p&gt;</comment>
                            <comment id="19355" author="pbracher" created="Fri, 14 Nov 2008 10:19:41 +0100"  >&lt;p&gt;see my comment: &lt;a href=&quot;http://jira.magnolia-cms.com/browse/MAGNOLIA-2421?focusedCommentId=19354#action_19354&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;http://jira.magnolia-cms.com/browse/MAGNOLIA-2421?focusedCommentId=19354#action_19354&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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>aperto.de</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10031" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 12 Nov 2008 10:56:40 +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>mmuehlebach</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            15 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>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10150" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>cringele</customfieldvalue>
            <customfieldvalue>gjoseph</customfieldvalue>
            <customfieldvalue>pbaerfuss</customfieldvalue>
            <customfieldvalue>pbracher</customfieldvalue>
            <customfieldvalue>timowirth</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02ik7:</customfieldvalue>

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