[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.09-135-g62113a4

Git repo owner gitmaster at git.koha-community.org
Wed Aug 24 11:58:08 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 3.22.x has been updated
       via  62113a4c10e7769f79695f4305afca41915cda7b (commit)
      from  d6c0ee64a360a78da37c9ed3924b5b9a035b8302 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 62113a4c10e7769f79695f4305afca41915cda7b
Author: Hector Castro <hector.hecaxmmx at gmail.com>
Date:   Tue Jul 19 14:58:58 2016 -0600

    Bug 16944: Add "email" and "url" classes when edit or create a vendor
    
    When edit or create a new vendor the two fields "email" and "website" don't test
    if the data provided is right. When you add a direction like
    "koha-community.org" without the protocol "https" the program redirect to an
    404 error.
    
    To reproduce the issue:
    1-Go to Acquisition and create a new Vendor
    2-Fill the field Website with koha-community.org
    3-Use an email without at sing (@)
    4-Notice that there is no error
    5-Save
    6-Go to the vendor created (/cgi-bin/koha/acqui/supplier.pl?booksellerid=1)
    7-Click in Website: koha-community.org -> redirect to an 404 error
    8-Notice the bad mailto:
    
    To test:
    -Apply patch
    -Reproduce step 1 to 8 with the same vendor or create a new one
    -Enter multiple wrong and valid urls
    -Enter urls with and without protocols http, https, ftp
    -Enter wrong and valid emails
    
    NOTE: The classes used are taken from 'branches.tt'
    Signed-off-by: Liz Rea <liz at catalyst.net.nz>
    no longer allows entering of improper website urls or incomplete email addresses.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 71d20a8c3b48a4dd1c7fb569b3baf2352d9757ac)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    (cherry picked from commit 3b4564001d571304490fe81dbd92e656fc9ad53e)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

-----------------------------------------------------------------------

Summary of changes:
 koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list