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

NotFoundException thrown when not all requested languages are present

    Details

    • Sprint:
      Ventoux Sprint 4

      Description

      Follow up of EZP-22188.

      When passing a language filter to ContentService::loadContent(), and requested content isn't translated in one of the passed languages, ContentService will throw a NotFoundException, even if the content exists in at least one of the passed language.

      This is a blocker when using prioritized languages. It should not throw an exception for this since the ContentHandler is already reponsible of throwing a NotFoundException if there is no result.

        Issue Links

          Activity

          Show
          Jérôme Vieilledent (Inactive) added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/698
          Show
          Jérôme Vieilledent (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-kernel/commit/48f64b255fd8f1ec01c0990398b039281d413b4e
          Hide
          Pedro Resende (Inactive) added a comment -

          Tested and approved by Q.A.

          Show
          Pedro Resende (Inactive) added a comment - Tested and approved by Q.A.

            People

            • Assignee:
              Unassigned
              Reporter:
              Jérôme Vieilledent (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours
                7h

                  Agile