]> git.donarmstrong.com Git - debbugs.git/commitdiff
the default bug collection for a bug is the universe
authorDon Armstrong <don@donarmstrong.com>
Sat, 18 Aug 2018 05:32:40 +0000 (22:32 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sat, 18 Aug 2018 05:32:40 +0000 (22:32 -0700)
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}//[]},