<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 03:52:41 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>[MAGNOLIA-4103] Channel name should be provided by configuration</title>
                <link>https://jira.magnolia-cms.com/browse/MAGNOLIA-4103</link>
                <project id="10000" key="MAGNOLIA">Magnolia</project>
                    <description>&lt;p&gt;A nice to have would be to configure the channel name. &lt;/p&gt;

&lt;p&gt;For the moment it is returned &quot;harcoded&quot; by the channelResolver.&lt;/p&gt;

&lt;p&gt;For me the resolver should say: yes or not it&apos;s resolved and the channel name come from the config, either the name of the node or a name property.&lt;/p&gt;

&lt;p&gt;Furthermore, channel configuration under Templating Kit &amp;gt; Channels should provide channel names resolved by one given resolver, taking into account that one resolver can resolve more than one channel. Channel config should thus become the place where modules providing their own resolver will write channel names &lt;br/&gt;
they are able to resolve (and doc should make clear that first match wins here).  &lt;/p&gt;</description>
                <environment></environment>
        <key id="23048">MAGNOLIA-4103</key>
            <summary>Channel name should be provided by configuration</summary>
                <type id="3" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10898&amp;avatarType=issuetype">Task</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="8">Outdated</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="sschmitt">Samuel Schmitt</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Feb 2012 09:21:29 +0100</created>
                <updated>Wed, 10 Mar 2021 15:29:01 +0100</updated>
                            <resolved>Wed, 10 Mar 2021 15:29:01 +0100</resolved>
                                    <version>4.5</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="45675" author="fgrilli" created="Wed, 21 Mar 2012 12:37:29 +0100"  >&lt;p&gt;Tentatively put into 4.5.2&lt;/p&gt;</comment>
                            <comment id="46002" author="had" created="Fri, 30 Mar 2012 10:56:54 +0200"  >&lt;p&gt;&lt;tt&gt;DeviceChannelResolver&lt;/tt&gt; provides basic configuration. Functionality of this class allows resolving multiple channels which makes it impossible to use node name as a name of a channel and would also make it complicated to make name of each channel configurable. Similar to &lt;tt&gt;TemplateAvailability&lt;/tt&gt; this class provides implementation that should be suitable for most users. In case of need of more specialized or more configurable resolver this class can and should be replaced with custom implementation.&lt;/p&gt;</comment>
                            <comment id="46213" author="ahietala" created="Tue, 10 Apr 2012 08:48:24 +0200"  >&lt;p&gt;The problem is that the current channel implementation is not transparent. It is not possible for a user to know which resolver resolves his channels by looking at the configuration. He must look in the source code. Furthermore, the mapping between channels and variations is not transparent either.&lt;/p&gt;

&lt;p&gt;I can describe this in documentation to mitigate the issue. However, I suggest we fix the root cause:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;When a module registers a channel resolver, the module should be responsible for creating channel nodes in &lt;tt&gt;/server/rendering/channelManagement/channels&lt;/tt&gt;. For example, &lt;tt&gt;DeviceChannelResolver&lt;/tt&gt; should register three channels - &lt;tt&gt;desktop&lt;/tt&gt;, &lt;tt&gt;smartphone&lt;/tt&gt; and &lt;tt&gt;tablet&lt;/tt&gt; - with a visible configuration node for each.
&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-none&quot;&gt;+ channels
  + tablet
    + resolver
      - class = info.magnolia.module.devicedetection.DeviceChannelResolver
  + smartphone
    + resolver
      - class = info.magnolia.module.devicedetection.DeviceChannelResolver
  + desktop
    + resolver
      - class = info.magnolia.module.devicedetection.DeviceChannelResolver
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
	&lt;li&gt;The &lt;tt&gt;excludeChannels&lt;/tt&gt; control, which renders the checkbox options on the Output Channels tab, should read available channel names from the configuration nodes. The user should not need add these options manually. This mitigates the risk of adding wrong channel names.&lt;/li&gt;
	&lt;li&gt;Channel names should follow a strict nomenclature. For example, &lt;tt&gt;tablet&lt;/tt&gt; is a great channel name because an editor can understand how to make his content work on a tablet. However, &lt;tt&gt;device&lt;/tt&gt; is bad channel name because an editor does not understand how to make content work on a &quot;device&quot;. (What kind of device? How big? Touch or keyboard? etc.) Device is a &lt;em&gt;dimension&lt;/em&gt;, not a channel. Here are examples of dimensions followed by channels in that dimension:
	&lt;ul&gt;
		&lt;li&gt;Device: &lt;tt&gt;smartphone, tablet, ipad, xbox, kindle&lt;/tt&gt;&lt;/li&gt;
		&lt;li&gt;Location: &lt;tt&gt;europe, us, non-us, basel, in-store&lt;/tt&gt;&lt;/li&gt;
		&lt;li&gt;Format: &lt;tt&gt;html, pdf, xml, epub, rss, text&lt;/tt&gt;&lt;/li&gt;
		&lt;li&gt;Returning-visit: &lt;tt&gt;first-time-visitor, returning-visitor&lt;/tt&gt;&lt;/li&gt;
		&lt;li&gt;Job-role (as captured on a form for example): &lt;tt&gt;manager, engineering, sales, communication&lt;/tt&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;A resolver can resolve more than one channel, just like &lt;tt&gt;DeviceChannelResolver&lt;/tt&gt; does. Therefore, the resolver should NOT be named after any single channel. It should be named after the dimension. &lt;tt&gt;DeviceChannelResolver&lt;/tt&gt; is a good name. &lt;tt&gt;TableChannelResolver&lt;/tt&gt; is a bad name.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="46214" author="had" created="Tue, 10 Apr 2012 08:59:23 +0200"  >&lt;p&gt;Needs further discussion.&lt;/p&gt;</comment>
                            <comment id="52059" author="had" created="Tue, 9 Oct 2012 14:21:06 +0200"  >&lt;p&gt;Definitively not something that can be changed in the minor release.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10020">
                    <name>dependency</name>
                                                                <inwardlinks description="is depended upon by">
                                        <issuelink>
            <issuekey id="32394">MAGNOLIA-5218</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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>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>Wed, 21 Mar 2012 12:37:29 +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>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10071" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last participant</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>rgange</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 19 weeks, 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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ahietala</customfieldvalue>
            <customfieldvalue>fgrilli</customfieldvalue>
            <customfieldvalue>had</customfieldvalue>
            <customfieldvalue>sschmitt</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i00suf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4723</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_14167" key="com.okapya.jira.checklist:checklist">
                        <customfieldname>Task DoR</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_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>