Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-11455

API Provider ignores 204 as default status code

    XMLWordPrintable

Details

    • fuse-7.7-build2

    Description

      (Migrated from https://github.com/syndesisio/syndesis/issues/4040)

      Author: Andrej Smigala
      Assignees: unassigned

      This is a...

      [pre][code]
      [ ] Feature request
      [ ] Regression (a behavior that used to work and stopped working in a new release)
      [x] Bug report [!-- Please search GitHub for a similar issue or PR before submitting --]
      [ ] Documentation issue or request
      [/code][/pre]

      Description

      When implementing an API Provider operation that has status code set to 204 (such as the Delete task operation in the todo API), the Provided API Return Path defaults to 200. This does not seem to happen with other status codes (e.g. the Create task operation correctly sets the status code to 201).

      A simple workaround is to open the finish step and select 204 as the status code.

      Attachments

        Issue Links

          Activity

            People

              kstam@redhat.com Kurt Stam
              rhn-support-hbraun Heiko Braun
              Martin Muzikar Martin Muzikar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: