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

Regression: Cannot correlate message via REST without business key

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.6.0, 7.5.1, 7.6.0-alpha1
    • 7.5.0
    • engine
    • 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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce