-
Notifications
You must be signed in to change notification settings - Fork 558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Align deployment rejection message for DMN resources #8806
Comments
Marking priority as This issue may be interesting to pick up alongside the epics #8083 and #9864 (https://github.com/camunda/product-hub/issues/69) Please comment if you think this should have a higher priority. |
Hi @korthout, I'm currently working on process applications in Web Modeler (which will basically enable bundled deployments of multiple files) and stumbled across this issue. If the deployment bundle contains more than one invalid DMN diagram, you can't tell from the Zeebe response which error belongs to which file. So it would be nice if the DMN resource name could be included in the response (in the same way as it's already done for BPMN diagrams and forms). |
ZPA-Triage:
|
Hi @megglos,
The Web Modeler epic is planned for |
@jfriedenstab fix is ready and will be part of 8.6.0-alpha1 #17475 |
@jfriedenstab do you also need this to be present in patches for previous minor releases or is 8.6 enough? |
@megglos If it's easily possible, it would be nice to backport this at least to 8.4 and 8.5 (as we will support process application deployments to clusters >= 8.4). |
## Description Included the resource name in the rejection message of DMN validation error. Also, updated the related test to verify the expected behaviour. ## Related issues closes #8806
…urces (#17582) # Description Backport of #17475 to `stable/8.4`. relates to #8806 original author: @berkaycanbc
Describe the bug
If I deploy an invalid DMN resource then the deployment is rejected. The rejection message may look like the following example:
The rejection message for BPMN and DMN looks different. The rejection contains the failure message of the DMN but it is missing the related deployment resource. Without the resource, it could be hard to identify the failure.
To Reproduce
Deploy the following resources from the Zeebe repo.
Expected behavior
The rejection message for DMN resources contains the name of the resource. Similar to the message for BPMN resources.
Log/Stacktrace
None.
Environment:
1.4.0-alpha1
The text was updated successfully, but these errors were encountered: