[koha-commits] main Koha release repository branch master updated. v3.16.00-649-gd85f296

Git repo owner gitmaster at git.koha-community.org
Sat Oct 11 20:50:37 CEST 2014


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, master has been updated
       via  d85f29661b6455a4920c64a684de4eb3f0c06bcd (commit)
      from  fe478d76e527ff45c77c6c4912e41f5c4f4504f5 (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 d85f29661b6455a4920c64a684de4eb3f0c06bcd
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Thu Jun 19 15:18:23 2014 +0200

    Bug 12874: A DB field without a default mapping is set to a default value on editing
    
    If an item is edited and a field is not mapped to Koha, it is to 0 or
    NULL (depending on the default value defined).
    
    This patch adds a check on the mapping before editing the item. It there
    is no mapping, the DB value is not erased.
    
    Test plan:
    1/ Edit an item and fill a value for a field
    2/ Unmap this field
    3/ Edit the item
    4/ Verify that the value is not erased (using the MySQL CLI)
    
    Signed-off-by: Nick Clemens <nick at quecheelibrary.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

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

Summary of changes:
 C4/Items.pm                             |   83 ++++++++++++++++++-------------
 C4/Koha.pm                              |   25 ++++++++++
 t/db_dependent/Koha/IsKohaFieldLinked.t |   44 ++++++++++++++++
 3 files changed, 118 insertions(+), 34 deletions(-)
 create mode 100644 t/db_dependent/Koha/IsKohaFieldLinked.t


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list