Commit 518a0167 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 347817: [PostgreSQL] Cannot create a new bug object when custom fields exist…

Bug 347817: [PostgreSQL] Cannot create a new bug object when custom fields exist - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
parent ab61cd7a
......@@ -153,14 +153,14 @@ sub initBug {
INNER JOIN classifications
ON classifications.id = products.classification_id
WHERE bugs.bug_id = ? " .
$dbh->sql_group_by('bugs.bug_id', 'alias, products.classification_id,
$dbh->sql_group_by('bugs.bug_id', "alias, products.classification_id,
classifications.name, bugs.product_id, products.name, version,
rep_platform, op_sys, bug_status, resolution, priority,
bug_severity, bugs.component_id, components.name, assigned_to,
reporter, bug_file_loc, short_desc, target_milestone,
qa_contact, status_whiteboard, everconfirmed, creation_ts,
delta_ts, reporter_accessible, cclist_accessible,
estimated_time, remaining_time, deadline');
estimated_time, remaining_time, deadline $custom_fields");
my $bug_sth = $dbh->prepare($query);
$bug_sth->execute($bug_id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment