[koha-commits] main Koha release repository branch 3.20.x updated. v3.20.00-51-g1ae3729

Git repo owner gitmaster at git.koha-community.org
Thu Jun 11 22:04:21 CEST 2015


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.20.x has been updated
       via  1ae372980b11381bae8c32d3f8afd2e9382d50d9 (commit)
       via  47159b672e8328b66673fb9253bbecb75a5a69dd (commit)
      from  a47a89fa472e434f0dafccd991fa7991d5efe830 (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 1ae372980b11381bae8c32d3f8afd2e9382d50d9
Author: Jonathan Druart <jonathan.druart at koha-community.org>
Date:   Thu Jun 4 11:35:15 2015 +0200

    Bug 14256: (follow-up) Check for unique constraint to regenerate random data
    
    There were some issues in the previous patch. This patch fixes the
    following:
    - rename $value with $original_value
    - remove $at_least_one_constraint_failed and $values_ok which make the
      code unnecessarily complicated
    - the constraints have to be checked only if no original value is passed
    - _buildColumnValue created a key to the default value hashref, it broke
      the test:
        last BUILD_VALUE if exists( $default_value->{$source} );
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
    (cherry picked from commit c5bc51d7d1b6c98e9d897022f91d8e0806cf4524)
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

commit 47159b672e8328b66673fb9253bbecb75a5a69dd
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Wed Jun 3 15:54:57 2015 -0300

    Bug 14256: Check for unique constraint to regenerate random data
    
    Unique constraints should be checked when creating random data. Otherwise
    we get failures when the generated data already exists on the DB.
    
    This patch takes advantage of ->unique_constraints() to do the job,
    looping through all the unique constraints defined for the source.
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
    (cherry picked from commit 395304d3b58d79bb1306c4e6f799548e2d875356)
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

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

Summary of changes:
 t/lib/TestBuilder.pm |   62 ++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 52 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list