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

NotFoundException returns wrong status code

    XMLWordPrintable

Details

    Description

      When attempting to load content by id via the repository content service and no content is found, eZ throws a NotFoundException (eZ\Publish\API\Repository\Exceptions). eZ initially shows the code as 404 in the exception variable, but later the response returned to the browser is set to 500.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tvharms tvharms
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: