Saving a multifield is not working as expected in 6.4.5 but is working fine in 6.4.2

mirza_akram

22-08-2019

I am working on AEM products. I have a multifield component in a dialog. After adding it then saving it resulted in unexpected structure of the nodes on sp2. But it is working fine on sp2. Below is the comparison of the node structure of sp2 and sp3 after performing the same steps(adding item 3).

on SP2:

<item2

    jcr:lastModified="{Date}2019-08-22T17:17:02.548+05:30"

    jcr:primaryType="nt:unstructured"

    contentTitle="This is title"

    enabled="Y"/>

<item3

    jcr:lastModified="{Date}2019-08-22T17:17:02.547+05:30"

    jcr:primaryType="nt:unstructured"

    fieldsCheckOne="agree"

    fieldCheckTwo="agree"

    contentTitle="ThisIsLabel"/>

on SP3:

<item2

    jcr:lastModified="{Date}2019-08-22T17:10:51.203+05:30"

    jcr:primaryType="nt:unstructured">

    <contentList

        jcr:lastModified="{Date}2019-08-22T17:10:51.204+05:30"

        jcr:primaryType="nt:unstructured">

        <item3

            jcr:lastModified="{Date}2019-08-22T17:10:51.206+05:30"

            jcr:primaryType="nt:unstructured"

            contentTitle="ThisIsLabel"/>

    </contentList>

</item2>

<item3

    jcr:lastModified="{Date}2019-08-22T17:10:51.202+05:30"

    jcr:primaryType="nt:unstructured"

    fieldsCheckOne="agree"

    fieldCheckTwo="agree"/>

Because of which when I open the product after save and close, item 3 doesnt have the label and label of item 2 is also erased, in addition to this sometimes empty multifield are also added.

Could you please provide any pointers to resolve this issue.

View Entire Topic

mirza_akram

23-08-2019

Thank for the reply Arun. Could you please let me know what exactly you want to check in that xml because it is having some company specific data which is not advisable to share. I can give you a dummy structure if you let me know what you exactly looking for in the xml.

edit: One place in question service pack is incorrect. It is working on SP2 and not on SP5. Second node structure is from SP5