Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-6139

Regression: Cannot correlate message via REST without business key

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.5.0
    • Fix Version/s: 7.6.0, 7.5.1, 7.6.0-alpha1
    • Component/s: engine
    • Labels:
      None

      Description

      This is a regression in 7.5.

      It is no longer possible to call the POST /message endpoint without supplying a business key for correlation.

      The reason is that the message rest service always calls the #businessKey parameter on the message correlation builder (see https://github.com/camunda/camunda-bpm-platform/blob/7.5.0/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/impl/MessageRestServiceImpl.java#L71-L74) and the correlation builder now has a not null check (see https://github.com/camunda/camunda-bpm-platform/blob/7.5.0/engine/src/main/java/org/camunda/bpm/engine/impl/MessageCorrelationBuilderImpl.java#L72).

      Workarounds:

      • use Java API
      • write custom REST API

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.schoettes Michael Schoettes
              Reporter:
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: