Add most comments with ignore_missing_references=True.
authorW. Trevor King <wking@drexel.edu>
Mon, 28 Dec 2009 12:10:47 +0000 (07:10 -0500)
committerW. Trevor King <wking@drexel.edu>
Mon, 28 Dec 2009 12:10:47 +0000 (07:10 -0500)
libbe/bug.py
libbe/comment.py

index 1186ad41d29973d1e612032fe2fda6e694cade88..66ba579511f5f881051508d785e6d42023e79275 100644 (file)
@@ -405,7 +405,7 @@ class Bug(settings_object.SavedSettingsObject):
             if not hasattr(self, 'alt_id') or self.alt_id == None:
                 self.alt_id = uuid
         self.extra_strings = estrs
-        self.add_comments(comments)
+        self.add_comments(comments, ignore_missing_references=True)
 
     def add_comment(self, comment, *args, **kwargs):
         """
index d899aa8a57b622177966aaf435435ea807a0072c..e386796baeeca9c695e9a19cb72b98fa6254c23e 100644 (file)
@@ -85,7 +85,7 @@ def load_comments(bug, load_full=False):
             dummy = comm.body # force the body to load
         comments.append(comm)
     bug.comment_root = Comment(bug, uuid=INVALID_UUID)
-    bug.add_comments(comments)
+    bug.add_comments(comments, ignore_missing_references=True)
     return bug.comment_root
 
 def save_comments(bug):