http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14256

Tomás Cohen Arazi <tomasco...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39824|0                           |1
        is obsolete|                            |

--- Comment #14 from Tomás Cohen Arazi <tomasco...@gmail.com> ---
Created attachment 39825
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39825&action=edit
Bug 14256: (followup) check for unique constrainta 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.

Edit: removed leftover variable

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to