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

ContentService::loadContentListByContentInfo loads Content fields in random order on PosgreSQL

    XMLWordPrintable

    Details

    • Sprint:
      [2.4] - Sprint 5

      Description

      The APIs for ContentService::loadContentListByContentInfo and ContentService::loadContent load list of internal fields without any order, which for PostgreSQL means it is random. This results in randomly failing integration tests. We execute them nightly, so the need to fix becomes important.

      Possible ways to fix:
      1. Introduce proper ordering for both mentioned API.
      2. Do unordered assertion in test which fails (ref.: https://travis-ci.org/ezsystems/ezpublish-kernel/jobs/450304636#L909).

      We should aim at the option 1. since we don't want our system to behave randomly. The option 2. is a workaround in case of a blocker (e.g. related to BC).

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            andrzej.longosz@ez.no Andrzej Longosz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: