Open nikku opened 8 months ago
I'm not sure how the web modeler is resolving this issue. But essentially this means that one of the templates with a given ID and version cannot be used (id
+ version
is our unique key).
@nikku Thanks for the feedback.
Looks like some connectors like the polling connector are re-using the same template id: io.camunda.connectors.http.Polling
for different element-types.
This is also important feedback for our template generation as we will need to add some kind of discriminator for every supported bpmn type to the template id. cc @chillleader
Lets discuss this issue in our next grooming.
This specific issue (#1645) is likely an oversight/bug. (ID + Version) combinations should be unique across OOTB connectors.
General agreement that we want to reduce number of OOTB templates for customers
Migrating/merging connectors (e.g., merging start and intermediate event connectors) would need to be done carefully to avoid breaking expected behaviour
The following will require extra prioritization from Bastian and Eric:
@nikku Does the Desktop Modeler consider the version as part of the uniqueness check? Asking as this would be required to support template updates where multiple versions of the same id are present.
Discussed with @nikku in the grooming. We should use separate IDs for all our element-templates.
fixed; related task here :
Re-opening as this is still an issue in the latest (8.5.3) bundle. The following IDs and versions are duplicated:
@philippfromme Can you point to the duplicates? I looked at the zip and I just found the element templates and the hybrid ones from the zipfile.
The four that I mentioned are duplicated. In Web Modeler the IDs seem to be different for some reason:
For example, the polling connectors have different IDs:
I'd expect the connector templates found in Web Modeler to be the same found in the bundle.
@philippfromme The one in the screenshot is ...Polling
and ...Polling.Boundary
. They are different.
Can you point me to the templates where you see duplicate element templates in the Connectors repository?
The screenshot is from web modeler. I don't know what the current pipeline of camunda/connectors to camunda/web-modeler looks like but when downloading the bundle from the releases page of the connectors repo the IDs are duplicated.
Describe the Bug
I'm using the connectors bundle distribution attached to the latest v8.4.1 connectors release and it seems to contain duplicate templates.
I make the templates available in my project using the local discovery mechanism:
Now the modeler reports a multitude of warnings:
It is impossible for me as a user to make sense of why these duplicates exists and/or how to fix the issue.
Steps to Reproduce
Expected Behavior
The core bundle ships without duplicates, and still allows me to use all connectors shipped with the run-time in the respective runtime version.
Environment