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

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

    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).

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Confirmed Confirmed
        9s 1 Andrzej Longosz 06/Nov/18 12:46 PM
        Confirmed Confirmed Backlog Backlog
        15s 1 Andrzej Longosz 06/Nov/18 12:46 PM
        Backlog Backlog Specification Specification
        47s 1 Andrzej Longosz 06/Nov/18 12:47 PM
        Specification Specification Specification Done Specification Done
        8s 1 Andrzej Longosz 06/Nov/18 12:47 PM
        Specification Done Specification Done Development Development
        23d 21h 58m 1 Andrzej Longosz 30/Nov/18 10:46 AM
        Development Development Development Review Development Review
        10s 1 Andrzej Longosz 30/Nov/18 10:46 AM
        Development Review Development Review Closed Closed
        3d 1h 13m 1 Andrzej Longosz 03/Dec/18 12:00 PM

          People

          • Assignee:
            Unassigned
            Reporter:
            Andrzej Longosz
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile