-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
7.10.0
Steps to reproduce
- There exists a process definition with tenantId set to "foo" and an external task with the topic name "bar"
- There exists a process definition with tenantId set to null and an external task with the topic name "bar"
- For each process definition an instance is started, so that two external task instances with the topic name "bar" are available for being fetched
- The External Task Client subscribes to the topic name "bar" without any further filter criteria
Observed behavior
The handler is called only once, i. e. the external task without tenantId is fetched.
Expected behavior
The handler is called twice, i. e. the external tasks with and without tenantId is fetched.
Hint
- According to the following line, the criterion withoutTenantId is always set to true: https://github.com/camunda/camunda-external-task-client-java/blob/05c2146/client/src/main/java/org/camunda/bpm/client/topic/impl/TopicSubscriptionImpl.java#L113-L116
- Please consider the ignored test case