[Koha-bugs] [Bug 8604] Patron cards made for patrons which don't have patron images use preceding card's image

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 2 22:38:45 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8604

--- Comment #10 from Chris Nighswonger <cnighswonger at foundations.edu> ---
(In reply to lightpurpledye from comment #6)
> Possibly related: If the image file for one patron has a greater
> horizontal:vertical ratio than the image file for the patron immediately
> after them in the batch, then the first patron's image is shown below the
> second patron's image.
> 
> e.g. Steps to reproduce
> 1. In the patron creator, set up a layout with patron images enabled.
> 2. Create a batch starting with a patron that has a 300x100 image stored.
> 3. Next choose one with a 200x100 image.
> 4. Export the batch.
> 5. Resulting PDF will show:
>    i) The first one is correct (patron a's picture)
>    ii) The second one is incorrect (There are 100 pixels of patron a showing
> underneath patron b).
> 
> This suggests to me that when the PROCESS_IMAGES loop has an iteration it
> actually prints the image in every subsequent image position and then relies
> on the incorrect images being printed over in the next iteration. This would
> explain why, if a patron does not have an image stored, they would get the
> previous patron's image.
> 
> If this turns out to be unrelated, I can open a separate bug report for it.

I cannot duplicate this in 18.05.01.000 either.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list