[Rt-devel] Bug in RT::Tickets::LimitMemberOf (3.0.12)

Ruediger Riediger ruediger.riediger at Sun.COM
Thu Apr 14 06:19:19 EDT 2005


I discovered the following issue I do not (yet) have a solution for:

If I merge to tickets with children, say,

#100
 with child #101

#200
 with child #201

-> merge #200 into #100

I expect something like

#100
 with child #101 and #201

Indeed, if I do

my $members = $Ticket->Members;
while (my $link = $members->Next) {
    next unless($link->BaseURI->IsLocal);
...
}

I get both tickets listed.
However, using

my $MyTickets = new RT::Tickets ($session{'CurrentUser'});
$MyTickets->LimitMemberOf($Ticket->Id);
while (my $link = $MyTickets->Next) {
...
}

I only get #101. Looks like a bug in "RT::Tickets::LimitMemberOf".
Anyone noticed this before and/or got a fix?

Best regards,

	Ruediger Riediger

-- 
Dr. Ruediger Riediger                              Sun Microsystems GmbH
NSG - SunCERT                                             Komturstr. 18a
mailto:Ruediger.Riediger at Sun.com                          D-12099 Berlin
------------------------------------------------------------------------
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
------------------------------------------------------------------------
PGP 2048RSA/0x2C5020E9          964C E189 0FF0 8882  2BAB 65E2 6912 1FF2
------------------------------------------------------------------------


More information about the Rt-devel mailing list