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

Filter location loading on translations to avoid exception later when lazy property is loaded

    Details

      Description

      As of 2.2 location gained ->getContent() property, however as location calls to SPI are not filtered by translations, usage of priority languages will only throw once the content is lazy loaded.

      Solution to this is to add (optional) filtering on location load in SPI calls where applicable (load by id and remote id), so exceptions are thrown early.

        Issue Links

          Activity

          Show
          André Rømcke added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/2480
          Hide
          Michał Szołtysek added a comment -

          QA Approved on v2.2.3, v2.3.2 and v2.4.0-beta1.

          Show
          Michał Szołtysek added a comment - QA Approved on v2.2.3, v2.3.2 and v2.4.0-beta1.

            People

            • Assignee:
              Unassigned
              Reporter:
              André Rømcke
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: