<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 00:06:10 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>[MGNLCE-88] Incorrect usage of appIsLoaded() condition</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLCE-88</link>
                <project id="13380" key="MGNLCE">Community Edition</project>
                    <description>&lt;p&gt;The condition &lt;tt&gt;appIsLoaded()&lt;/tt&gt; is in many places used as general &lt;em&gt;wait until nothing is happening anymore in the background&lt;/em&gt;. Unfortunately its not so easy to test for that and &lt;tt&gt;appIsLoaded()&lt;/tt&gt; is definitely not meant for that.&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;appIsLoaded()&lt;/tt&gt; and &lt;tt&gt;appIsLoaded(String appName)&lt;/tt&gt; are meant for evaluating if an app is correctly loaded meaning, the app-viewport is around, the tab has the correct name in case it is provided and that the preloader overlay is not there any more.&lt;/p&gt;

&lt;p&gt;In case we are doing something inside the app, instead of using &lt;tt&gt;appIsLoaded()&lt;/tt&gt; a specific condition should be used evaluating the expected status of the application. Or in case we waiting for a dialog to appear or disappear there are already generic conditions for that available: &lt;tt&gt;dialogIsOpen()&lt;/tt&gt; and &lt;tt&gt;dialogIsClosed()&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;The reason why this worked in the past was a side effect: The old very generic implementation of &lt;tt&gt;appIsLoaded()&lt;/tt&gt; tried to get the appPreLoader to validate it has appear before evaluating that it disappeared. Because the actions inside an app are quite fast, like adding a new folder in a tree, the pre loader already disappeared before &lt;tt&gt;appIsLoaded()&lt;/tt&gt; was even called.&lt;br/&gt;
&lt;tt&gt;getElement(byAppPreLoader())&lt;/tt&gt; is now nothing else than &lt;tt&gt;delay(TIMEOUT)&lt;/tt&gt; because the pre loader is already gone and &lt;tt&gt;getElement()&lt;/tt&gt; tries to find the element with the given locator until it reaches the timeout and then returns null. Because in this case the result is not used the actual error was masked.&lt;/p&gt;</description>
                <environment></environment>
        <key id="60536">MGNLCE-88</key>
            <summary>Incorrect usage of appIsLoaded() condition</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="60305">MGNLCE-86</parent>
                                    <priority id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/priorities/neutral.gif">Neutral</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="mmuehlebach">Michael M&#252;hlebach</assignee>
                                    <reporter username="mmuehlebach">Michael M&#252;hlebach</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Jul 2017 16:48:12 +0200</created>
                <updated>Thu, 7 Sep 2017 11:09:18 +0200</updated>
                            <resolved>Mon, 4 Sep 2017 15:37:51 +0200</resolved>
                                                    <fixVersion>5.5.7</fixVersion>
                    <fixVersion>5.6</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <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_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>
                            6 years, 29 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>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>mmuehlebach</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i076dn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10245" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="530">Basel 106</customfieldvalue>
    <customfieldvalue id="534">Basel 107</customfieldvalue>
    <customfieldvalue id="536">Basel 108</customfieldvalue>
    <customfieldvalue id="545">Basel 109</customfieldvalue>
    <customfieldvalue id="547">Basel 110</customfieldvalue>
    <customfieldvalue id="554">Basel 111</customfieldvalue>
    <customfieldvalue id="559">Basel 112</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>