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 <[email protected]>
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 <[email protected]>
    
    Signed-off-by: Nick Clemens <[email protected]>
    
    Signed-off-by: Jonathan Druart <[email protected]>
    
    Signed-off-by: Jonathan Druart <[email protected]>
    (cherry picked from commit 0310e973a4c28a7e02baad03799eb40869ce4506)
    
    Signed-off-by: Lucas Gass <[email protected]>

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

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
_______________________________________________
koha-commits mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-commits

Reply via email to