Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[BUG] Importing a channel can delete recently added code templates

Đang mở
#296 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
65/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
java
Lĩnh vực
backend

Hướng nghiên cứu

Start from the channel import feature and the code template loading logic. The repro requires two clients: create a template in one, import a channel in another without refreshing templates. Done means the template is preserved or an optimistic locking warning appears instead of silent deletion.

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

Mô tả

bug

Importing a channel that imports code templates will delete any code templates created since the client last loaded code templates.

Repro Steps

  1. Create a channel xml that includes an exported code template
  2. Open two clients (1 & 2)
  3. In Client 1, create a new code template library and a template therein, save
  4. In Client 2, without refreshing code templates, import the channel

Expected behavior
Either the template is imported, or an optimistic locking warning is displayed, but no code template libraries are deleted

Actual behavior
Code template created by Client 1 is deleted. No warnings are displayed.

Ngôn ngữ chính
Java
Star
227
Fork
81
Merge trung bình
3 ngày 6 giờ
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenIntegrationEngine/engine

Tất cả issue của OpenIntegrationEngine/engine

Issue tương tự

Thêm issue về Java

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.