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

Aperta
#4,000 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
70/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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>
Lingua principale
Java
Stelle
130
Fork
132
Merge medio
2g 7h
PR unite (30g)
26

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ControlSystemStudio/phoebus

Tutte le issue di ControlSystemStudio/phoebus

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.