[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.04-19-gdeffb12491

Git repo owner gitmaster at git.koha-community.org
Fri Oct 16 17:31:51 CEST 2020


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, 20.05.x has been updated
       via  deffb12491fa1a928a427b25f55ea5929f030266 (commit)
      from  3b9b55eb3ed7041e0a7e369ac1ea8385f648ce55 (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 deffb12491fa1a928a427b25f55ea5929f030266
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Fri Jul 31 11:15:57 2020 +0200

    Bug 10921: Prevent an order from a closed basket to be edited
    
    We don't allow editing of orders that are part of a closed basket, but
    we don't enforce the rule in the controller file.
    
    This patch use output_and_exit to stop the script and display an error
    to the end user.
    
    Test plan:
    Create a basket, add an order
    On the basket view you see the "Modify" link, open it in a separate tab
    => You can edit the basket
    Keep this tab open, get back to the other one and close the basket
    Reload the tab with the order edition form
    => You cannot longer edit the basket
    
    QA: Do we need a check in addorder.pl as well?
    
    Signed-off-by: Henry Bolshaw <bolshawh at parliament.uk>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 0310e973a4c28a7e02baad03799eb40869ce4506)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

Summary of changes:
 acqui/neworderempty.pl                                     | 14 ++++++++++----
 .../intranet-tmpl/prog/en/includes/blocking_errors.inc     |  2 ++
 2 files changed, 12 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list