<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 04:07:25 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-5683] Delta tasks should fail gracefully</title>
                <link>https://jira.magnolia-cms.com/browse/MAGNOLIA-5683</link>
                <project id="10000" key="MAGNOLIA">Magnolia</project>
                    <description>&lt;p&gt;Some of delta tasks doesn&apos;t fail with &lt;tt&gt;TaskExecutionException&lt;/tt&gt; but e.g. with NPE.&lt;br/&gt;
Delta tasks should fail gracefully or not fail if it doesn&apos;t make sense (&lt;tt&gt;Remove*Task&lt;/tt&gt;, ...). This behaviour forces us to wrap them into conditional tasks which makes version handler cluttering and makes it difficult to use them.&lt;br/&gt;
Add unit tests for common delta task to test their failure behaviour.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="36557">MAGNOLIA-5683</key>
            <summary>Delta tasks should fail gracefully</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="34976">MAGNOLIA-5529</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="9">Obsolete</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rkovarik">Roman Kova&#345;&#237;k</reporter>
                        <labels>
                            <label>maintenance</label>
                    </labels>
                <created>Fri, 14 Feb 2014 14:42:38 +0100</created>
                <updated>Mon, 2 Oct 2023 15:58:52 +0200</updated>
                            <resolved>Mon, 2 Oct 2023 15:58:51 +0200</resolved>
                                    <version>5.2.2</version>
                                                    <component>updatemechanism</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="80037" author="dlipp" created="Fri, 21 Feb 2014 11:59:09 +0100"  >&lt;p&gt;I&apos;m not convinced here. There&apos;s surely cases where it&apos;s not a prob when a certain Property or Node is not around. But then there&apos;s also the other cases where this is very relevant. So for most of the tasks we need the option to execute in both modes. With the current impl. we can do that, but obviously our default is the strict mode - if you want it to be more tolerant, you have to nest into a conditional task. Changing the default to be tolerant is very dangerous: it would become less likely to spot differences and hence potential problems.&lt;/p&gt;</comment>
                            <comment id="80041" author="gjoseph" created="Fri, 21 Feb 2014 12:27:50 +0100"  >&lt;p&gt;Updates should be written carefully. The repo needs to be in a definite state. You know exactly which version you&apos;re upgrading from, so you should know what&apos;s there and not there. If a given node or property is gone, it means either you&apos;re not in the state you thought you were, or the user has made some (configuration) change, which the update task should take into account.&lt;/p&gt;

&lt;p&gt;Most cases I&apos;ve seen where ConditionalTasks were heavily used were cases where we weren&apos;t sure what we upgrading from, and/or added the task &quot;too late&quot; (forgot to add this one in 1.2.3, so we add it in 1.2.5, which then has to take into account that the module was perhaps only ever installed from 1.2.4, where the property is already gone).&lt;/p&gt;

&lt;p&gt;One thing that seems to have escaped a lot of people&apos;s mind is that you can (you should!) write your own task classes. I&apos;ve seen cluttered MVHs because they add clusters and clusters of Conditional(PropertySet) and the like, each with their (ignored because after writing 3, one has better things to do) names and descriptions that would have highly benefitted from a rather simple but custom Task implementation.&lt;/p&gt;</comment>
                            <comment id="378624" author="ldelnevo" created="Mon, 2 Oct 2023 15:58:52 +0200"  >&lt;p&gt;Hello,&#160;&lt;/p&gt;

&lt;p&gt;This ticket is now marked as closed due to one of the following reasons:&#160;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;A long period of inactivity&#160;&lt;/li&gt;
	&lt;li&gt;Uses an old or Beta version of an application, module, or framework that we no longer support&#160;&lt;/li&gt;
	&lt;li&gt;The issue is no longer reproducible or has been fixed in later versions&#160;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;If you are still facing a problem or consider this issue still relevant, please feel free to re-open the ticket and we will reach out to you.&#160;&lt;/p&gt;

&lt;p&gt;Thank you,&#160;&lt;/p&gt;

&lt;p&gt;The Magnolia Team&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10022">
                    <name>supersession</name>
                                            <outwardlinks description="supersedes">
                                        <issuelink>
            <issuekey id="36960">MAGNOLIA-5704</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 Feb 2014 11:59:09 +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>ldelnevo</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            18 weeks, 6 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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dlipp</customfieldvalue>
            <customfieldvalue>ldelnevo</customfieldvalue>
            <customfieldvalue>gjoseph</customfieldvalue>
            <customfieldvalue>rkovarik</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i034e7:</customfieldvalue>

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