Skip to content
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

Improve error message in case of uncovered BPMN features #7282

Closed
nitram509 opened this issue Jun 15, 2021 · 1 comment · Fixed by #10646
Closed

Improve error message in case of uncovered BPMN features #7282

nitram509 opened this issue Jun 15, 2021 · 1 comment · Fixed by #10646
Assignees
Labels
area/ux Marks an issue as related to improving the user experience hacktoberfest Marks an issue as a candidate to be a Hacktoberfest contribution kind/feature Categorizes an issue or PR as a feature, i.e. new behavior scope/broker Marks an issue or PR to appear in the broker section of the changelog version:8.2.0-alpha1 Marks an issue as being completely or in parts released in 8.2.0-alpha1 version:8.2.0 Marks an issue as being completely or in parts released in 8.2.0

Comments

@nitram509
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I did report issue #7279, where I thought I found a bug because the error message did not let me think of missing feature implementation, but rather XML-related issues. So I spend some time to validated the XML file against many validators.

Error: rpc error: code = InvalidArgument desc = Command 'CREATE' rejected with code 'INVALID_ARGUMENT': Expected to deploy new resources, but encountered the following errors:
'/Users/maki/Downloads/hello_world.bpmn': - Element: Activity_1yyow37
    - ERROR: Elements of this type are not supported

Describe the solution you'd like
When Zeebe only covers a few BPMN features
(as described https://docs.camunda.io/docs/reference/bpmn-processes/bpmn-coverage#tasks)
I would prefer to see an error message, which better guides me as a user.
Considering the fact, the error message is shown in CLI tool, simple monitor, and others,
this should be much as possible self-describing.

Describe alternatives you've considered
May I propose an error message with more content and guidance?

Proposal

Error: rpc error: code = InvalidArgument desc = Command 'CREATE' rejected with code 'INVALID_ARGUMENT': Expected to deploy new resources, but encountered the following errors:
'/Users/maki/Downloads/hello_world.bpmn': - Element: Activity_1yyow37
    - ERROR: An un-supported element found. The XML is valid, but currently, just a sub-set of BPMN elements are supported, see the documentation for more details: https://docs.camunda.io/docs/reference/bpmn-processes/bpmn-coverage

Additional context
See #7279

@nitram509 nitram509 added the kind/feature Categorizes an issue or PR as a feature, i.e. new behavior label Jun 15, 2021
@npepinpe npepinpe added Impact: Usability scope/broker Marks an issue or PR to appear in the broker section of the changelog labels Jun 16, 2021
@npepinpe npepinpe added area/ux Marks an issue as related to improving the user experience and removed Impact: Usability labels Apr 11, 2022
@saig0 saig0 added the hacktoberfest Marks an issue as a candidate to be a Hacktoberfest contribution label Sep 29, 2022
@sccalabr
Copy link
Contributor

sccalabr commented Oct 9, 2022

I could pick this up

sccalabr added a commit to sccalabr/zeebe that referenced this issue Oct 9, 2022
sccalabr added a commit to sccalabr/zeebe that referenced this issue Oct 9, 2022
sccalabr added a commit to sccalabr/zeebe that referenced this issue Oct 13, 2022
@korthout korthout added the version:8.2.0-alpha1 Marks an issue as being completely or in parts released in 8.2.0-alpha1 label Nov 1, 2022
@npepinpe npepinpe added the version:8.2.0 Marks an issue as being completely or in parts released in 8.2.0 label Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ux Marks an issue as related to improving the user experience hacktoberfest Marks an issue as a candidate to be a Hacktoberfest contribution kind/feature Categorizes an issue or PR as a feature, i.e. new behavior scope/broker Marks an issue or PR to appear in the broker section of the changelog version:8.2.0-alpha1 Marks an issue as being completely or in parts released in 8.2.0-alpha1 version:8.2.0 Marks an issue as being completely or in parts released in 8.2.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants