diff options
author | David Lawrence <dkl@mozilla.com> | 2015-07-17 10:11:13 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2015-07-17 10:12:27 +0200 |
commit | bb5c5a5e62d2fd96f9b4a7339cbb0cbb33209745 (patch) | |
tree | bad279ed0b93247c04c92e5f487b24b2cba9c735 /docker | |
parent | b51b2accbfba9ed16133da120aa5e6e947a00191 (diff) | |
download | bugzilla-bb5c5a5e62d2fd96f9b4a7339cbb0cbb33209745.tar.gz bugzilla-bb5c5a5e62d2fd96f9b4a7339cbb0cbb33209745.tar.xz |
Bug 1184984 - Current Selenium tests are failing due to changes made by bug 1173442
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/generate_bmo_data.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/generate_bmo_data.pl b/docker/generate_bmo_data.pl index 84b0f0bf8..c58b5746f 100755 --- a/docker/generate_bmo_data.pl +++ b/docker/generate_bmo_data.pl @@ -388,7 +388,10 @@ foreach my $group (@groups) { # Update default security group settings for new products my $default_security_group = Bugzilla::Group->new({ name => 'core-security' }); -$dbh->do('UPDATE products SET security_group_id = ?', undef, $default_security_group->id); +if ($default_security_group) { + $dbh->do('UPDATE products SET security_group_id = ? WHERE security_group_id IS NULL', + undef, $default_security_group->id); +} ########################################################################## # Set Parameters |