Skip to content

Config fields' values do not change on the tab where the import button is clicked #1294

@shreyamalviya

Description

@shreyamalviya

Describe the bug

On importing a configuration, the config field values do not change on the current config tab. You have to reload/switch tabs to see the changes apply.

To Reproduce

Steps to reproduce the behavior:

  1. Run Monkey Island.
  2. Go to the Network tab of the configuration (works with any tab).
  3. Make some changes.
  4. Export config.
  5. Reset to defaults.
  6. Make sure you're on the Network tab of the configuration.
  7. Import previously exported config.
  8. See that no changes are applied.
  9. Reload page or switch config tabs and switch back.
  10. See changes applied.

Expected behavior

Changes should be seen as soon as config is imported.

Screenshots

config-ui-fields-bug.mp4

Machine version (please complete the following information):

  • OS: Linux

Tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugAn error, flaw, misbehavior or failure in the Monkey or Monkey Island.Complexity: MediumImpact: MediumUIUser Interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions