[Bug 530137] Fedora::Bugzilla - $bug->blocks_bug() fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=530137





--- Comment #8 from Jiri Pirko <jpirko@xxxxxxxxxx>  2009-10-23 03:48:25 EDT ---
Right, so I figured out what's wrong. In bztest3.pl script I'm using
blocks_bug() in a wrong way.

To get a list of dependent bugs and blocks bugs I'm using successfully
following:

print "all_dependent_bug_ids\n";
@dependent_bugs = $bug->all_dependent_bug_ids;
foreach (@dependent_bugs){
        print "$_\n";
}

print "all_blocked_bug_ids\n";
@blocked_bugs = $bug->all_blocked_bug_ids;
foreach (@blocked_bugs){
        print "$_\n";
}

I would suggest you to add test for these 2 to t/09.depends-blocks.t

Thanks.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux