[Koha-bugs] [Bug 17879] Possible to upload images with no image name

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 11 08:51:46 CET 2017


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

Claire Gravely <claire_gravely at hotmail.com> changed:

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

--- Comment #2 from Claire Gravely <claire_gravely at hotmail.com> ---
Created attachment 58795
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58795&action=edit
Bug 17879: Use image filename if no image name is entered

This patch changes the code to use the filename of the uploaded image if
no specific image name is entered.

To test:
1) Go to Tools -> Patron card creator -> Manage images
2) Upload an image and leave the image name field empty
3) Notice this works and 'Name' is left empty.
4) Apply patch and refresh page
5) Upload an image and leave the image name field empty
6) Notice the image name is given the filename so that 'Name' is no
longer empty.

Sponsored-by: Catalyst IT
Signed-off-by: Claire Gravely <claire_gravely at hotmail.com>

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


More information about the Koha-bugs mailing list