Wrong .opf syncing when deleting xptg template (and others?)

Bug #1445634 reported by arspr on 2015-04-17
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

While investigating https://bugs.launchpad.net/calibre/+bug/1445617 I've found this one.

+ (Just in case). Previously fix all the typos the book has. :-( (Checkbook is great).

+ Open content.opf

+ Then delete page-template.xpgt from Files Browser.

+ page-template.xpgt is still linked in <manifest> in the version you see in screen (but not in the "real" version of it).

+ If you close and reopen content.opf, the file is actually gone.

+ BUT, if you edit anything in content.opf, then the "obsolete but in screen" version of it is taken as the good one. page-template.xpgt re-appears and if you perform Check book you get a "missing file in manifest" error.

(I think some kind of refresh of content.opf should be done even if it is opened while deleting a file).

arspr (arspr) on 2015-04-17
summary: - Wrong .opf syncing when deleting xptg template (and others
+ Wrong .opf syncing when deleting xptg template (and others?)
description: updated

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