Skip to content

[Bug] Error when opening a previously deleted and imported again publication. #580

@dcastill-prhge

Description

@dcastill-prhge

Describe the bug

When deleting a publication, import it again, and then try to open it, we get this error:

java.lang.IllegalStateException: Cannot find book in database.

But the book seems to be in the bookshelf:

Captura de pantalla 2024-10-16 a las 17 13 59

Captura de pantalla 2024-10-16 a las 17 15 03

How to reproduce?

  1. Import a publication
  2. Delete that publication
  3. Import that publication again
  4. Open that publication

Readium version

3.0.0-beta.1

Android API version

31

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions