Skip to content

IBEX GUI: Macro values not persisted when configuring an IOC with multiple macros #8950

@Chsudeepta

Description

@Chsudeepta

Issue Description

As an user of IBEX, I am seeing that macro values are not persisted when configuring an IOC with multiple macros.

How & Where?

  • Edit Configuration -- Add/Edit and IOC -- Set more than one macro to non-default values

Reproducible (Yes/No)?

Yes
Steps to reproduce:

  1. Take latest EPICS and GUI code base.
  2. On GUI, go to Edit Configurations, Add an IOC with more than 3-4 macros. Set at least 2 macros to some values (Unselect default, enter the value and press enter). I have used AEROFLEX and MOXA_12XX
  3. Press OK to exit the sub-window, and press Save to persist the IOC.
  4. Revisit the Edit IOC and check that the set values are still there. Sometimes all values are lost, and sometimes only the macro set last remains.
  5. We can also do the full cycle setting one macro at a time and the issue would show --> Set one macro, save it, revisit the IOC after some time, set a second macro, save again and revisit again.

Image 1: Here setting two macros

Image

Image 2: Revisit after saving the IOC on the configuration.

Image

Additional Information

What else do I need to know before starting?

  • This could be related a new change done in last sprint around setting configs by default. Check 8445

See our Git Workflow.

Acceptance Criteria

What is the acceptance criteria of this ticket? What should the reviewer expect to be complete?

  • Values once set on the macros when adding or editing an IOC should remain valid unless changed later.
  • The values should still be there if the application is restarted
  • The changes should comply with the Java and Python (as the case may be) standards expected by the linters.

To the reviewer: Make sure to update submodules!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions