Skip to content

[Bug] 🐛 Import feature throws map is not a function error #2650

@TangoMan75

Description

@TangoMan75

Is there an existing issue for this?

  • Yes, I have searched the existing issues and none of them match my problem.

Product Variant

Cloud (https://rxresu.me)

Describe the bug you're experiencing

Description

When attempting to use the Import feature to load an existing resume file, the application crashes with the following error:

(t.metadata.layout ?? []).map is not a function

This prevents the import process from completing.

Steps to Reproduce

  1. Open (Reactive Resume).
  2. Select Import an existing resume.
  3. Select Reactive resume v4 (JSON).
  4. Select a previously exported .json resume file.
  5. Click Import button.
  6. Observe the error.

Expected Behavior

The resume should import correctly without throwing an exception.

Actual Behavior

The import process fails and displays the error above. The UI does not recover afterward.

Additional Context

  • The exported file was generated by Reactive Resume itself.
  • The error suggests that metadata.layout is not an array, or is missing entirely in some exported files.
  • This may indicate a schema mismatch between versions or missing validation during import.

Environment

  • Browser: Google Chrome 144.0.7559.109

What template are you using?

None

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneeds triageIssues that need to be triagedv5Issues related to the latest version

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions