Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-29239

Elements in the RelationList should be displayed in the correct order

    XMLWordPrintable

    Details

      Description

      Steps to reproduce:

      1. Edit a default Article ContentType
      2. Add RelationList FieldType and save ContentType
      3. Go to content
      4. Create few random contents (articles, folders)
      5. Create the new article and add contents created in the previous step into RelationList field
      6. Publish content

      Current result:
      Not always, but very often you will see the list of related contents in randomly changed order. Both in the content preview view and content edit view. See attached screenshots.

      Expected result:
      List of related contents should be always displayed as it was set during the creation.

      More information:
      The issue is most likely caused by asynchronous content loading without promises. Therefore, some of the requests arrive earlier than others and these are immediately displayed.

        Attachments

        1. ezp-28239-before-publish.png
          44 kB
          Kamil Madejski
        2. ezp-28239-preview.png
          16 kB
          Kamil Madejski
        3. ezp-29239-edit-view.png
          43 kB
          Kamil Madejski

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kamil.madejski@ez.no Kamil Madejski
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: