]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/Collection/Bug.pm
the default bug collection for a bug is the universe
[debbugs.git] / Debbugs / Collection / Bug.pm
index 4982047b2c59ec799f41c835161161ae00f704c0..c773b59d043d0474191ddebdbe4d99913035b698 100644 (file)
@@ -86,6 +86,8 @@ sub _member_constructor {
                                   schema => $schema,
                                   package_collection =>
                                   $self->package_collection->universe,
+                                  bug_collection =>
+                                  $self->universe,
                                   correspondent_collection =>
                                   $self->correspondent_collection->universe,
                                   @{$args{constructor_args}//[]},
@@ -97,6 +99,8 @@ sub _member_constructor {
                 Debbugs::Bug->new(bug => $bug,
                                   package_collection =>
                                   $self->package_collection->universe,
+                                  bug_collection =>
+                                  $self->universe,
                                   correspondent_collection =>
                                   $self->correspondent_collection->universe,
                                   @{$args{constructor_args}//[]},