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

Restserver returns 500 or symfony error instead of 400 on bad input

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Duplicate
    • Affects Version/s: Engineering tracked issues
    • Fix Version/s: 5.3
    • Component/s: Platform > REST API v2
    • Labels:

      Description

      Passing wrong xml structure leads to a synfony error html page.
      When passing BadInput the server returns mostly a 500 ( this should be generarlly be designed to return a 400 with correct error messages )

        Activity

        Hide
        Bertrand Dunogier added a comment -
        Show
        Bertrand Dunogier added a comment - Already fixed by https://github.com/ezsystems/ezpublish-kernel/pull/681 .

          People

          • Assignee:
            Unassigned
            Reporter:
            Christian Bacher (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: