<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 07:39:31 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>[MGNLSYNC-63] Replicate the use case</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLSYNC-63</link>
                <project id="10370" key="MGNLSYNC">Magnolia Synchronization Module</project>
                    <description>&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-java&quot;&gt;

SynchronizationRequest req = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; SynchronizationRequest();
SynchronizationRequest req2 = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; SynchronizationRequest();

req.setUrl(&lt;span class=&quot;code-quote&quot;&gt;&quot;http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8080/magnoliaPublic&quot;&lt;/span&gt;);
&lt;/span&gt;req.setWorkspace(&lt;span class=&quot;code-quote&quot;&gt;&quot;website&quot;&lt;/span&gt;);
req.setFromPath(&lt;span class=&quot;code-quote&quot;&gt;&quot;/travel&quot;&lt;/span&gt;);
req.setToPath(&lt;span class=&quot;code-quote&quot;&gt;&quot;/travel&quot;&lt;/span&gt;);

req2.setUrl(&lt;span class=&quot;code-quote&quot;&gt;&quot;http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8080/magnoliaPublic&quot;&lt;/span&gt;);
&lt;/span&gt;req2.setWorkspace(&lt;span class=&quot;code-quote&quot;&gt;&quot;dam&quot;&lt;/span&gt;);
req2.setFromPath(&lt;span class=&quot;code-quote&quot;&gt;&quot;/travel&quot;&lt;/span&gt;);
req2.setToPath(&lt;span class=&quot;code-quote&quot;&gt;&quot;/travel&quot;&lt;/span&gt;);

SimpleSynchronizationManager synchronizationManager = (SimpleSynchronizationManager) Components.getComponent(SynchronizationManager.class);
synchronizationManager.setPolicy(SynchronizationPolicy.AllowAll);
synchronizationManager.synchronize(req);
synchronizationManager.synchronize(req2);

synchronizationManager.stopSynchronization(req.getIdentifier());
synchronizationManager.stopSynchronization(req2.getIdentifier());

synchronizationManager.getSynchronizationRequest(req2.getIdentifier()).get();

&lt;span class=&quot;code-comment&quot;&gt;//req.getIdentifier().equals(req2.getIdentifier())&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="111323">MGNLSYNC-63</key>
            <summary>Replicate the use case</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="97287">MGNLSYNC-56</parent>
                                    <priority id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/priorities/neutral.gif">Neutral</priority>
                        <status id="11546" iconUrl="https://jira.magnolia-cms.com/images/icons/status_generic.gif" description="This was auto-generated by JIRA Service Desk during workflow import">Completed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="11">Done</resolution>
                                        <assignee username="rkovarik">Roman Kova&#345;&#237;k</assignee>
                                    <reporter username="rkovarik">Roman Kova&#345;&#237;k</reporter>
                        <labels>
                    </labels>
                <created>Wed, 11 May 2022 09:08:35 +0200</created>
                <updated>Wed, 11 May 2022 12:28:01 +0200</updated>
                            <resolved>Wed, 11 May 2022 12:28:01 +0200</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="305985" author="rkovarik" created="Wed, 11 May 2022 12:27:52 +0200"  >&lt;p&gt;The code can return without the fix:&lt;/p&gt;

&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-java&quot;&gt;

SynchronizationRequest(executionStart=Wed May 11 12:24:30 CEST 2022, executionEnd=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, cancelled=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, state=RUNNING, created=Wed May 11 12:24:30 CEST 2022, identifier=synchronization-20220511-122430247, workspace=dam, path=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, recursive=&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;, fromDate=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, template=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, url=http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8080/magnoliaPublic, fromPath=/travel, toPath=/travel)
&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;which is the second request when the first one is requested.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;With the fix, the correct request is returned:&lt;/p&gt;

&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-java&quot;&gt;

SynchronizationRequest(executionStart=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, executionEnd=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, cancelled=Wed May 11 12:27:22 CEST 2022, state=CANCELLED, created=Wed May 11 12:27:22 CEST 2022, identifier=synchronization-20220511-122722861, workspace=dam, path=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, recursive=&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;, fromDate=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, template=&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, url=http:&lt;span class=&quot;code-comment&quot;&gt;//localhost:8080/magnoliaPublic, fromPath=/travel, toPath=/travel)
&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                    <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>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10071" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last participant</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>rkovarik</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 39 weeks, 4 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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>rkovarik</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|y06nxu:</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="1635">Nucleus 10</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12430" key="com.atlassian.teams:rm-teams-custom-field-team">
                        <customfieldname>Team</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[27]]></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>
                                                                                                                                                                                                            <customfield id="customfield_13933" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Urgency (resolution)</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15724"><![CDATA[Normal]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>