| Index: dashboard/dashboard/file_bug.py
|
| diff --git a/dashboard/dashboard/file_bug.py b/dashboard/dashboard/file_bug.py
|
| index b95ef75cabd21ee81e78ee6cd2ae14c09a67b8b5..cc30ad9641c1c5ba24b94cff0df55cbe091d29df 100644
|
| --- a/dashboard/dashboard/file_bug.py
|
| +++ b/dashboard/dashboard/file_bug.py
|
| @@ -17,7 +17,6 @@
|
| from dashboard.common import request_handler
|
| from dashboard.common import utils
|
| from dashboard.models import alert
|
| -from dashboard.models import alert_group
|
| from dashboard.models import bug_data
|
| from dashboard.models import bug_label_patterns
|
| from dashboard.services import issue_tracker_service
|
| @@ -143,8 +142,9 @@
|
| return
|
|
|
| bug_data.Bug(id=bug_id).put()
|
| -
|
| - alert_group.ModifyAlertsAndAssociatedGroups(alerts, bug_id=bug_id)
|
| + for alert_entity in alerts:
|
| + alert_entity.bug_id = bug_id
|
| + ndb.put_multi(alerts)
|
|
|
| comment_body = _AdditionalDetails(bug_id, alerts)
|
| service.AddBugComment(bug_id, comment_body)
|
|
|