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

Aleisha Amohia <aleishaamo...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #58808|0                           |1
        is obsolete|                            |

--- Comment #4 from Aleisha Amohia <aleishaamo...@hotmail.com> ---
Created attachment 58888
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58888&action=edit
Bug 17181: Check for duplicate image names when uploading image to patron card
creator

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
warning.
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 <claire_grav...@hotmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to