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

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 23 07:48:27 UTC 2009


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 at redhat.com>  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.




More information about the Fedora-perl-devel-list mailing list