flowable / flowable/flowable-engine

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

未关闭
#720 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
9.5k
派生
2.9k
平均合并
7 小时 8 分钟
30 天内合并 PR
2

描述

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?

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先跟踪失败的部署响应如何传递到建模器,然后将显示的 HTTP 500 与 issue 中所示的详细服务器 logfile 错误进行比较。完成标准是建模器能够公开部署失败的根本原因,而不是只报告“Invalid Deploy result code: HTTP 500”。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
api, backend
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
32/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。