Check Book repair function has unexpected file remove side-effect

Bug #1479462 reported by DrChiper on 2015-07-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
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.

DrChiper (drchiper) wrote :

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  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments