<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 05:11:38 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>[MGNLDATA-127] Subtype dialog reload incorrectly after validation error.</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLDATA-127</link>
                <project id="10054" key="MGNLDATA">Magnolia Data Module (closed)</project>
                    <description>&lt;p&gt;Steps to reproduce the problem:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Create a new type in Data module (I will reference it as &quot;myType&quot;)&lt;/li&gt;
	&lt;li&gt;Create a subtype for the new type (I will reference it as &quot;mySubType&quot;)&lt;/li&gt;
	&lt;li&gt;Define a simple dialog for myType&lt;/li&gt;
	&lt;li&gt;Define another dialog for mySubType, adding a new edit control&lt;/li&gt;
	&lt;li&gt;Mark the edit control of the subtype as required&lt;/li&gt;
	&lt;li&gt;Go to the tree and create a new instance of myType, and save it&lt;/li&gt;
	&lt;li&gt;Select the instance and click on &quot;new&quot;, the dialog of mySubType will show&lt;/li&gt;
	&lt;li&gt;Try to save the empty dialog&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The validation stop the saving process, and the error message for the required field is shown correctly. But the dialog behind now is the myType one, and not the mySubType I would expect.&lt;br/&gt;
Saving that dialog may cause a real mess in some cases... You will have then a node of myType under another node of myType even if your configuration would not allow it, the user is expecting some data to edit at that level but opening the faulty node will show another dialog (myType instead of mySubType), and obviously xpath queries may have unexpected results.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="21150">MGNLDATA-127</key>
            <summary>Subtype dialog reload incorrectly after validation error.</summary>
                <type id="1" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10883&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.magnolia-cms.com/images/icons/priorities/critical.svg">Critical</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="jsimak">Jaroslav Simak</assignee>
                                    <reporter username="dfghi">Danilo Ghirardelli</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Jul 2011 12:14:31 +0200</created>
                <updated>Mon, 7 Jan 2013 08:17:07 +0100</updated>
                            <resolved>Tue, 11 Dec 2012 12:19:59 +0100</resolved>
                                    <version>1.6.3</version>
                                    <fixVersion>1.7.4</fixVersion>
                                        <due></due>
                            <votes>1</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="37277" author="dfghi" created="Fri, 8 Jul 2011 15:12:39 +0200"  >&lt;p&gt;The problem seems to be that even for subtypes, the dialog is generated with the form parameter &quot;mgnlDialog&quot; with the value of the main type. But at this point I don&apos;t if it&apos;s related to the generation of the bottom bar itself.&lt;/p&gt;</comment>
                            <comment id="38326" author="dfghi" created="Fri, 12 Aug 2011 17:23:00 +0200"  >&lt;p&gt;The very same patch for &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MGNLDATA-130&quot; title=&quot;Error while renaming sub-items.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MGNLDATA-130&quot;&gt;&lt;del&gt;MGNLDATA-130&lt;/del&gt;&lt;/a&gt; seems to solve also this problem.&lt;br/&gt;
The workaroud of setting &quot;dialogName&quot; in each tree works fine too.&lt;/p&gt;</comment>
                            <comment id="49043" author="dunand" created="Thu, 12 Jul 2012 22:53:43 +0200"  >&lt;p&gt;I&apos;m on 4.5.3 and I hit a similar problem and the workaround of setting dialogName does not work. Here are the steps to reproduce it:&lt;/p&gt;

&lt;p&gt;Create a new type in Data module (I will reference it as &quot;myType&quot;)&lt;br/&gt;
Create a subtype for the new type (I will reference it as &quot;mySubType&quot;)&lt;br/&gt;
Define a simple dialog for myType&lt;br/&gt;
Define another dialog for mySubType&lt;br/&gt;
Add a new edit control to myType and mark the edit control as required&lt;br/&gt;
Go to the tree and create a new instance of myType, and save it&lt;br/&gt;
Select the instance and click on &quot;new&quot;, the dialog of mySubType will show&lt;br/&gt;
Try to save dialog and it will show you a validation error showing you an empty dialog from myType telling you one field is required but empty.&lt;/p&gt;

&lt;p&gt;This is like the validation of myType is used instead of mySubType. &lt;/p&gt;
</comment>
                            <comment id="49074" author="dunand" created="Fri, 13 Jul 2012 17:45:27 +0200"  >&lt;p&gt;FYI I can reproduce it on the official magnolia demo site &lt;a href=&quot;http://demo.magnolia-cms.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://demo.magnolia-cms.com&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="49079" author="dunand" created="Fri, 13 Jul 2012 22:04:32 +0200"  >&lt;p&gt;Like Danilo Ghirardelli said the dialog is generated with the form parameter mgnlDialog with the value of the main type. The only workaround I know is to create another dummy subtype. Because if you have at least 2 subtypes under the main type a form with a radio button will ask you to select the subtype you want to create. After that, the dialog will contain the good mgnlDialog parameter. But this is not nice at all. &lt;/p&gt;

&lt;p&gt;This bug was open more than one year ago. Why nobody wants to fix it.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10030">
                    <name>Cloners</name>
                                                                <inwardlinks description="is cloned by">
                                        <issuelink>
            <issuekey id="26905">MGNLDATA-162</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>relation</name>
                                            <outwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="18685">MAGNOLIA-3245</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="21287">MGNLDATA-130</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="22910">MGNLDATA-144</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="26307">MGNLDATA-157</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="14963" name="rename.patch" size="3754" author="dfghi" created="Fri, 12 Aug 2011 17:26:06 +0200"/>
                    </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>gmail.com</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10031" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 12 Jul 2012 22:53:43 +0200</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>mmuehlebach</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 32 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10020" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.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>dfghi</customfieldvalue>
            <customfieldvalue>jsimak</customfieldvalue>
            <customfieldvalue>dunand</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Patch included</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10100"><![CDATA[Yes]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03znb:</customfieldvalue>

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