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

Add previous exception, if set, to REST errors

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0-rc1
    • Component/s: Platform > REST API v2
    • Labels:
      None

      Description

      Bubbled up exceptions in REST will only show the last one, and it's often not very informative ("Database error").

      If set, the previous exception from the thrown exception should also be part of the output.

        Activity

        Show
        Bertrand Dunogier added a comment - Implemented in https://github.com/ezsystems/ezpublish-kernel/pull/1805 .
        Hide
        Bertrand Dunogier added a comment - - edited

        Merged to master@e1047bc.

        QA: I don't think there's much to test on this one, that's why I didn't send it to QA before merging. But feel free to verify things !

        Show
        Bertrand Dunogier added a comment - - edited Merged to master@e1047bc . QA: I don't think there's much to test on this one, that's why I didn't send it to QA before merging. But feel free to verify things !
        Hide
        Rui Silva (Inactive) added a comment -

        Tested and approved by QA for master.
        Sanity tests on the scope of Rest errors were run, no relevant errors were found.

        Show
        Rui Silva (Inactive) added a comment - Tested and approved by QA for master. Sanity tests on the scope of Rest errors were run, no relevant errors were found.

          People

          • Assignee:
            Unassigned
            Reporter:
            Bertrand Dunogier
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: