Closed
Description
Bug Report
Opening a book that has a graphic cover and starting the vocal reproduction the TestApp (branch main) crashes.
What happened?
The Locator crash with fatal error "Highlight is nil"
public subscript<R>(range: R) -> Text where R : RangeExpression, R.Bound == String.Index {
guard let highlight = highlight else {
preconditionFailure("highlight is nil") <----- !!!
}
Expected behavior
Jump to the first page of text
How to reproduce?
- Download the book "Moby-Dick" from OPDS 2.0 Test Catalog
- Open it
- Start the voice playback.
Environment
- Readium version: 2.4.0
Development environment
macOS: 13.2.1
platform: x86_64
carthage: 0.38.0
Xcode 14.2
Build version 14C18
Testing device
- iOS version: 15.x
- Model (e.g. iPhone 11 Pro Max): iPhone 7
- Is it an emulator? No
Additional context
Metadata
Metadata
Assignees
Labels
No labels