<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 08:59:53 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-2760] Streamline availability checking.</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLUI-2760</link>
                <project id="10625" key="MGNLUI">Magnolia UI</project>
                    <description>&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;AvailabilityChecker extracted from ActionExecutor.&lt;/li&gt;
	&lt;li&gt;Item ids instead of javax.jcr.Items&lt;/li&gt;
	&lt;li&gt;Adapt availability rules.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="37255">MGNLUI-2760</key>
            <summary>Streamline availability checking.</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="35863">MGNLUI-2569</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="cmeier">Christoph Meier</assignee>
                                    <reporter username="apchelintcev">Aleksandr Pchelintcev</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 Mar 2014 09:15:05 +0100</created>
                <updated>Wed, 29 Apr 2015 17:14:44 +0200</updated>
                            <resolved>Thu, 27 Mar 2014 14:22:37 +0100</resolved>
                                                    <fixVersion>5.3</fixVersion>
                                    <component>content app</component>
                    <component>workbench</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="81737" author="gjoseph" created="Fri, 21 Mar 2014 15:39:20 +0100"  >&lt;p&gt;Review of update tasks:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Good job on making good task descriptions; task names should be more concise, though (&quot;update availability class names&quot;, for example)&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;If you use &lt;tt&gt;slf4j&lt;/tt&gt;, have a static final logger instance. (change your class template in your ide?), e.g.
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(RenameContentConnectorPathPropertyTask.class);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;instead of&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;private Logger log = LoggerFactory.getLogger(getClass());
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
	&lt;li&gt;Don&apos;t catch/log. Rethrow (if you have a RepositoryException you can&apos;t treat, you probably should stop the update altogether). And if you need to log something (&quot;hey, we noticed your config is outdated, blablabla&quot;), then do that via &lt;tt&gt;InstallContext#warn()/#error()/#info()&lt;/tt&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;In &lt;tt&gt;ChangeJcrDependentAvailabilityRuleClassesFqcnTask&lt;/tt&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;} catch (RepositoryException e) {
  log.error(&quot;Unable to process app node &quot;, e);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
	&lt;ul&gt;
		&lt;li&gt;rethrow or treat.&lt;/li&gt;
		&lt;li&gt;either way, make sure the message is accurate (&quot;unable to process app node&quot;, is neither precise nor correct)&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Couldn&apos;t &lt;tt&gt;MigrateRuleClassToAvailabilityRuleDefinitionCollectionTask&lt;/tt&gt; be merged with the above ? They run the same query - i.e operate on all &apos;availability&apos; nodes.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;For tasks aren&apos;t meant to be re-used by other modules, mark them as such (i.e by not making them public)&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;If &lt;tt&gt;MigrateWorkspaceAndPathToContentConnector&lt;/tt&gt; is meant to be re-used, make it explicit (javadoc?)
	&lt;ul&gt;
		&lt;li&gt;I&apos;m on the fence regarding that one being reused or doing the job for other modules. Modules will have to update their bootstraps, so they might as well handle their updates. No strong feeling.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="82107" author="cmeier" created="Tue, 25 Mar 2014 12:21:05 +0100"  >&lt;p&gt;I refactored the Tasks according to comments and added some tests, too.&lt;/p&gt;</comment>
                            <comment id="82180" author="ehechinger" created="Wed, 26 Mar 2014 11:03:19 +0100"  >&lt;p&gt;ContentAppModuleVersionHandler calls MigrateJcrPropertiesToContentConnectorTask --&amp;gt; that migrate nodeTypes... &lt;/p&gt;

&lt;p&gt;Issue is that ContentAppModuleVersionHandler run before AdmincentralModuleVersionHandler! &lt;br/&gt;
There you have update task like (.addTask(new NewPropertyTask(&quot;Set main node type in configuration app as strict&quot;, &quot;Sets main node type as strict, i.e. its substypes won&apos;t be included in list and search views.&quot;, RepositoryConstants.CONFIG, &quot;/modules/ui-admincentral/apps/configuration/subApps/browser/workbench/nodeTypes/mainNodeType&quot;, &quot;strict&quot;, true))) &lt;br/&gt;
that try to handle property into this area..&lt;/p&gt;
</comment>
                            <comment id="82265" author="cmeier" created="Thu, 27 Mar 2014 14:19:58 +0100"  >&lt;p&gt;In order to finish a sprint we will close that ticket.&lt;br/&gt;
The migration-issue now is tackled by the follow-up-ticket: =&amp;gt; &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MGNLUI-2775&quot; title=&quot;Migrate configuration due to changes required by jcr-agnostic-content-app&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MGNLUI-2775&quot;&gt;&lt;del&gt;MGNLUI-2775&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10160">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="44123">MGNLUI-3395</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="37606">MGNLUI-2778</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10040">
                    <name>causality</name>
                                                                <inwardlinks description="is causing">
                                        <issuelink>
            <issuekey id="37326">MGNLPN-40</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10022">
                    <name>supersession</name>
                                            <outwardlinks description="supersedes">
                                        <issuelink>
            <issuekey id="31132">MGNLUI-1589</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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>Fri, 21 Mar 2014 15:39:20 +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>
                            9 years, 47 weeks, 3 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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>apchelintcev</customfieldvalue>
            <customfieldvalue>cmeier</customfieldvalue>
            <customfieldvalue>ehechinger</customfieldvalue>
            <customfieldvalue>gjoseph</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i037l3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>18824</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10245" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="29">5.3 Preparation 2</customfieldvalue>
    <customfieldvalue id="30">5.3 Sprint 3</customfieldvalue>
    <customfieldvalue id="31">5.3 Sprint 4</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>