[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
Thu Oct 2 14:00:18 CEST 2014


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

lightpurpledye at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.8                         |3.14

--- Comment #6 from lightpurpledye at gmail.com ---
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.

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


More information about the Koha-bugs mailing list