Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-62

Add possibility to put context attributes to the rest response in command endpoint

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 1.1
    • None
    • None
    • None
    • Yes

    Description

      ilgun -> As far as I could grasp when I was working on MGNLBACKUP-105, the behaviour is as follows;

      • Command itself it returning false ->{ Success : true }
      • Command returning true -> no effect I'd expect to have success : false but no it will still return{ Success : true }
      • Command throwing exceptions -> Finally we get a { Success : false } with exception message in the response entity.

      Therefore the success message relies on the command throwing exceptions or not.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                jsimak Jaroslav Simak
                jsimak Jaroslav Simak
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD