flowable / flowable/flowable-engine

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

Đang mở
#720 1 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
9.5k
Fork
2.9k
Merge trung bình
7 giờ 8 phút
Pull request đã merge (30 ngày)
2

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng cách lần theo cách phản hồi của một deployment thất bại đến được modeler, sau đó so sánh HTTP 500 được hiển thị với lỗi chi tiết trong logfile của server được nêu trong issue. Hoàn thành khi modeler hiển thị lý do bên dưới của lỗi deployment thay vì chỉ báo cáo “Invalid Deploy result code: HTTP 500”.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
api, backend
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
32/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.