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

User receives status code 500 instead of 404 or 406 with correct response message while requesting for a content with 'content query'

    XMLWordPrintable

    Details

      Description

      Steps to reproduce:

      1. Go to Admin / Content Types.
      2. Add new content group e.g. 'Images'.
      3. Within content group 'Images' create a new 'Content Type' with defined fields 'content query' and 'author'.
      4. After that go to Content / Content structure and add new 'Landing page'.
      5. On 'creating new landing page' view add block 'Content List'.
      6. Click on 'settings' button in this block and then 'select content' button.
      7. Switch tab to 'Create' and select your 'content type' from the list and then click on 'create content' button.
      8. After publishing created landing page try to request for this content through rest API client with provided content id, version and identifier of content query.

      Actual result:

      After requesting for a content 'Landing page' user receives status code 500.

      Expected result:

      User should receive correct status code e.g. 406 with correct response messageĀ 

        Attachments

        1. content_details.png
          content_details.png
          132 kB
        2. content_list.png
          content_list.png
          133 kB
        3. contenttype_details.png
          contenttype_details.png
          123 kB
        4. landingpage_details.png
          landingpage_details.png
          141 kB
        5. restAPI_response.png
          restAPI_response.png
          94 kB

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            bogdan.mazur@ez.no Bogdan Mazur
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: