Skip to content

ModelService: Cannot add model because it already exists! #36

Description

@gregoriopellegrino

When opening a file from within a ZIP/EPUB, closing it, and then trying
to open it again (without reloading the page), the app throws the
following error:

ModelService: Cannot add model because it already exists!

The editor stops working and the file cannot be edited until the page
is manually refreshed.

Steps to reproduce

  1. Open zipadee.vercel.app
  2. Load a ZIP or EPUB file
  3. Click on a file to open it in the editor
  4. Close the file (or navigate away)
  5. Click on the same file again to reopen it
  6. → Error appears: ModelService: Cannot add model because it already exists!

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions