BpmnModel#addEscalation method implement error
Maintainer thường phản hồi trong vòng 1 ngày
@Rohith1551 đang làm issue này rồi.
Từ ngày 13/10/2026.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- java
- Lĩnh vực
- backend-api-design
Hướng nghiên cứu
Start by locating BpmnModel#addEscalation and the escalationMap lookups shown in the issue. Trace whether callers and stored keys use escalation IDs or codes, then check the related tests. Done means both add methods store entries under the same identifier that containsEscalationRef and getEscalation expect, with tests covering the behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
BpmnModel#addEscalation method implement error.
Expected behavior
Repair code.
Code
code in branch main
public void addEscalation(String escalationRef, String escalationCode, String name) {
if (StringUtils.isNotEmpty(escalationRef)) {
escalationMap.put(escalationRef, new Escalation(escalationRef, name, escalationCode));
}
}
public void addEscalation(Escalation escalation) {
if (StringUtils.isNotEmpty(escalation.getEscalationCode())) {
escalationMap.put(escalation.getEscalationCode(), escalation);
}
}
public boolean containsEscalationRef(String escalationRef) {
return escalationMap.containsKey(escalationRef);
}
public Escalation getEscalation(String escalationRef) {
return escalationMap.get(escalationRef);
}
At first method, escalationMap.put used key is id in fact, second method, escalationMap.put used key is code in fact.
containsEscalationRef and getEscalation method param is code when call these method.
Additional context
main branch.
- Ngôn ngữ chính
- Java
- Star
- 9.6k
- Fork
- 2.9k
- Merge trung bình
- 1 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của flowable/flowable-engine
-
FlowableMultiInstanceActivityEventImpl#isSequential() typo issueCó thể đã có người làm @maxim618 đã nhận 31 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
flowable/flowable-engine#4268 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Intermittent EmptyStackException during CDI bean resolution with Weld and asynchronous jobsCó thể đã có người làm @adityaanikam đã nhận 3 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
flowable/flowable-engine#4302 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 57/100
flowable/flowable-engine#4300 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
flowable/flowable-engine#4293 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
flowable/flowable-engine#4292 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của flowable/flowable-engine
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
NationalSecurityAgency/ghidra#9884 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Status: Pending Review Type: Feature Request
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
OpenRefine/OpenRefine#8019 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`timer` rule rejects dates the engine acceptsCó thể đã có người làm @MFA-G đã nhận hôm nay. Đang mởbug ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
camunda/bpmnlint-plugin-camunda-compat#281 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status: waiting-for-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100