flowable / flowable/flowable-engine

flowable-modeler: Provide more informative error message when deployment fails?

Open
#720 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
9.5k
Forks
2.9k
Avg merge
7h 8m
Merged PRs (30d)
2

Description

When deploying apps from the modeler some error messages could be even more helpful.

For example when the deployment fails the modeler displays `Invalid Deploy result code: HTTP 500`

The server logfile includes a detailed error message with the reson why the deployment failed:

```
05:12:40,957 [http-nio-8080-exec-60] ERROR org.flowable.engine.impl.bpmn.deployer.ParsedDeploymentBuilder - Could not parse resource Test.bpmn
org.flowable.bpmn.exceptions.XMLException: cvc-datatype-valid.1.2.1: 'Test 2' is not a valid value for 'NCName'.
```

It could be helpful to propagate these errors to the modeler, what do you think?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how a failed deployment response reaches the modeler, then compare the displayed HTTP 500 with the detailed server logfile error shown in the issue. Done means the modeler exposes the underlying deployment failure reason instead of only reporting “Invalid Deploy result code: HTTP 500”.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.