Skip to content

Import JSON clears other settings #895

@tuftelien

Description

@tuftelien

Describe the bug
Export JSON allows you to choose what to export, but importing will reset any sections missing.

Additionally: Favorites and sim options will always be reset without being saveable/recoverable.

To Reproduce
Steps to reproduce the behavior:

  1. Open Warrior Arms sim (problem is universal)
  2. Import JSON: { "player": { "class": "ClassWarrior", "talentsString": "113132", "glyphs": { "major1": 67482, "major2": 43399, "major3": 45792 } } }
  3. All other settings (gear, encounter, rotation, etc) are now blank. Favorites are lost. Sim options are reset to default.

Expected behavior
Import should only change provided sections. Other settings should not be updated. (Sim options and favorites should never be touched.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions