Skip to content

Import error #1523

Description

@RadoslawWiniarski

Describe the bug
When attempting to import a character profile via Import → Addon using the JSON string generated by the in-game addon, an error message is displayed:
Import error: Cannot read properties of undefined (reading 'map').

No network requests are made during this action (verified in DevTools).
When using Import → JSON with the same data, no error is shown, but the import does nothing.

To Reproduce
Steps to reproduce the issue:

  1. Open the simulation tool
  2. Navigate to Import → Addon
  3. Paste the JSON string generated by the WoW addon
  4. Click Import
  5. Observe the error message

Alternative path:

  1. Navigate to Import → JSON
  2. Paste the same JSON
  3. Click Import
  4. No response, no error, nothing happens

Expected behavior
The simulator should parse the input JSON and initialize the character profile accordingly. If the JSON is malformed or incomplete, a descriptive validation error should be displayed instead of a generic JavaScript runtime error.

Sim Links and Screenshots
Attached screenshot:
Image

Desktop (please complete the following information):

Browser: Opera GX 120.0.5543.127
System:Windows 11 64-bit
Chromium:135.0.7049.115

Smartphone (if applicable):
Not tested.

Additional context

  • No API requests are visible in browser DevTools during either import attempt
  • The same JSON string was used for both Addon and JSON import methods
  • The JSON was generated using the in-game WoW addon
  • This appears to be a client-side issue with handling unexpected or missing fields during import

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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