Check Book repair function has unexpected file remove side-effect

Bug #1479462 reported by DrChiper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

When the Check Book function issues a warning like:

WARNING: Invalid id: stärt [OEBPS/metadata.opf]

caused by the ID containing an accented letter and thus the file metadata.opf contains an entry like:

<item href="Text/start.xhtml" id="stärt" media-type="application/xhtml+xml"/>

then using the Check Book repair options:

  - Replace this id with a randomly generated valid id
  - Try to correct all fixable errors automatically

will cause the complete removal of the xhtml file, referenced by the ID.
This problem can be reproduced.

Tags: file test
Revision history for this message
DrChiper (drchiper) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.