Template does not show correct result with series_index[0]

Bug #1247348 reported by Melanie Hotz on 2013-11-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Charles Haley

Bug Description

Calibre 1.9/2 Windows

I think it is a problem with the combination of my template, series_idx[0] in more than one book record

Steps to reproduce:
Defined a column with the following template:
{series_index:0>3s}!
(restart calibre)

Add (e.g. 3) books without formats and give the series the name test
change the idx of the 1st book to 0. The template column shows 000! (this is ok)
restart calibre (nothing changed, all is ok)
change another (e.g. the 3rd) book to idx 0.
The template column of the 3rd book shows 000! (this is ok)
(restart calibre)
The template column of the 3rd book shows ! (the zeroes are missing, this in not ok)
Enter the the metadata dialog of the 3rd book. Leave it with ok
change the idx of the 1st book to 0. The template column shows 000! (this is ok)
Enter the the metadata dialog at the 1st book. Step with next to the 2nd step whis next to the 3rd step with previous to the 2nd. Exit the dialog with ok.
The 1st and the the 3rd now again shows only ! (which is not ok).
Restarting Calibe has the same effect.

Melanie Hotz (melanie80a) wrote :
Melanie Hotz (melanie80a) wrote :

Changing the component for this bug.

 assignee cbhaley
 status triaged

Changed in calibre:
assignee: nobody → Charles Haley (cbhaley)
status: New → Triaged
Charles Haley (cbhaley) wrote :

See comments on github

Changed in calibre:
status: Triaged → Fix Committed

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

 status fixreleased

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

Other bug subscribers