[Rt-devel] Q about links to deleted tickets.
Todd Chapman
todd at chaka.net
Fri Mar 31 16:05:12 EST 2006
On Thu, Mar 30, 2006 at 05:23:07PM -0500, Todd Chapman wrote:
> On Thu, Mar 30, 2006 at 04:40:12PM -0500, Todd Chapman wrote:
> > On Thu, Mar 30, 2006 at 04:25:16PM -0500, Todd Chapman wrote:
> > > Should links to ticket be deleted when the ticket is deleted?
> > >
> > > The reason is ask is, $Ticket->Members->Count may return 1,
> > > but is that members is a deleted ticket then
> > > $Ticket->Members->First returns undef.
> > >
> > > Or, should Link::Next give you the link even if it is a link
> > > to a deleted ticket? Why have the link in the database but
> > > not have Next give it tou you???
> > >
> > > -Todd
>
> OK, I lied a little bit. $Ticket->Members->First gives
> you the link. It's just that $Ticket->Members->Next won't
> give you the link because I tries to be helpful (to
> helpful if you ask me).
>
> IMHO, if Next won't give you a link, then First shouldn't
> either (but I think they both should).
>
Nobody has an opinion???
More information about the Rt-devel
mailing list