Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-15693

RadioGroupInputField: options modified in reducer function are not always rendered correctly

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: SUIT
    • Labels:
      None
    • Templates:
    • Story Points:
      2
    • Sprint:
      SUIT Sprint 2018-09
    • Team:
      Science User Interface

      Description

      Firefly allows to maintain the state of the field in reducer function.

      When the number new options is smaller than the number of previous options, the extra options are still displayed.

      The culprit is smartMerge in FieldGroupCntlr.fireFieldsReducer - it's not correct to merge oldFields and newFields here , the new fields that have changed should replace the old.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tatianag Tatiana Goldina
                Reporter:
                tatianag Tatiana Goldina
                Reviewers:
                Trey Roby
                Watchers:
                Loi Ly, Tatiana Goldina, Trey Roby, Xiuqin Wu [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel