kotlin-toolkit icon indicating copy to clipboard operation
kotlin-toolkit copied to clipboard

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

Open dcastill-prhge opened this issue 1 year ago • 1 comments

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

dcastill-prhge avatar Oct 16 '24 15:10 dcastill-prhge

I can't reproduce this issue from develop. Are you trying from the Test App? Does it happen for every book you tried, including PDFs?

mickael-menu avatar Oct 22 '24 12:10 mickael-menu