Jonathan Druart <> changed:

           What    |Removed                     |Added
  Attachment #58917|0                           |1
        is obsolete|                            |

--- Comment #6 from Jonathan Druart <> 
Created attachment 58921
Bug 17181: Check for duplicate image names when uploading image to patron card

This patch adds a check for duplicates before uploading the image.

To test:
1) Go to Tools -> Patron card creator -> Manage images
2) If you haven't already, upload an image
3) Try to upload another image with the same image name
4) Notice the first image is replaced with the second image, with no
5) Apply patch and refresh page
6) Try to upload an image with the same image name again
7) Notice you are now warned about a duplicate image name.
8) Check that uploading an image with a unique name still works.

Sponsored-by: Catalyst IT
Signed-off-by: Claire Gravely <>

Signed-off-by: Jonathan Druart <>

You are receiving this mail because:
You are watching all bug changes.
Koha-bugs mailing list
website :
git :
bugs :

Reply via email to