Uploaded image for project: 'Wink'
  1. Wink
  2. WINK-348

PopulateResponseStatusHandler ignores status passed in context

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.3
    • None
    • Build
    • Development

    Description

      A user can set a response status in the requesthandler by calling the method context.setResponseStatusCode().
      However, this value is not used in the PopulateResponseStatusHandler where the status is default assigned to -1 and this value is ignored.
      This leads to issues where your entity is not of Type Response but you still want to set a status.

      A workaround is to wrap all the objects into response in the request handler however, this should have been supported.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vareshbe Varesh Tapadia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified