[Rt-devel] Bug? Imbalance in linking history

Todd Chapman todd at chaka.net
Thu Nov 3 16:24:03 EST 2005


On Thu, Nov 03, 2005 at 04:30:01PM -0500, Jesse Vincent wrote:
> 
> 
> 
> On Thu, Nov 03, 2005 at 04:04:00PM -0500, Todd Chapman wrote:
> > When you linkg 2 tickets or delete a link between 2 tickets,
> > the transaction is only recorded in the ticket that is
> > used to add/delete the link. Given the bi-directional
> > nature of links, shouldn't these transaction be recorded
> > in both tickets?
> 
> Should it generate two transactions? (and run two sets of scrips..)
> 
> This was something I angsted about at the time, but I haven't heard much
> in the way of commentary about it until now.
> 

I would think that it should generate two transactions but have
one of them supress running scrips. Anyone writing s scrip based
on adding/deleting scrips should expect one transaction and look
at both ends of the link. Well, look at both ends of the link
for AddLink. Of the top of my head I'm not sure how to find both
ends of the link for DeleteLink. Unless deleting a link
should cause 2 scrips to run. Either way both tickets should
have a transaction; I'm sure of that.


> Jesse
> 
> > -Todd
> > _______________________________________________
> > Rt-devel mailing list
> > Rt-devel at lists.bestpractical.com
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
> > 
> 
> -- 


More information about the Rt-devel mailing list