4.7.4+ org.csstudio.display.converter.medm.Converter broken on MEDM "message button" and "shell command"

Đang mở
#4,000 6 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 1 ngày

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

Đá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
70/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
tooling

Hướng nghiên cứu

Start from org.csstudio.display.converter.medm.Converter and its handlers for 'message button' and 'shell command' widgets. Compare 4.7.4 with 4.6.x to find where actions generation regressed. Done when converted .bob output includes the actions block with write_pv as shown in the issue.

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

Mô tả

When Phoebus 4.7.4+ converting MEDM adl to bob files, the "message button" widget does not produce the actions properties. See a report here https://github.com/paulscherrerinstitute/ADPco/pull/5#issue-4171724294

Using Phoebus 4.6.x produces the correct results, e.g.
MEDM widget

"message button" {
	object {
		x=539
		y=481
		width=59
		height=20
	}
	control {
		chan="$(P)$(R)Acquire"
		clr=14
		bclr=51
	}
	label="Start"
	press_msg="1"
}

is converted to

  <widget type="action_button" version="3.0.0">
    <name>message button #287</name>
    <actions>
      <action type="write_pv">
        <pv_name>$(P)$(R)Acquire</pv_name>
        <value>1</value>
        <description>Write</description>
      </action>
    </actions>
    <pv_name>$(P)$(R)Acquire</pv_name>
    <text>Start</text>
    <x>539</x>
    <y>481</y>
    <width>59</width>
    <height>20</height>
    <background_color>
      <color red="115" green="223" blue="255">
      </color>
    </background_color>
  </widget>
Ngôn ngữ chính
Java
Star
130
Fork
132
Merge trung bình
2 ngày 7 giờ
Pull request đã merge (30 ngày)
26

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

  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 ControlSystemStudio/phoebus

Tất cả issue của ControlSystemStudio/phoebus

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.