Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Devel

Last Updated, transaction.

 

 

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded


curtisb at vianet

Aug 14, 2009, 10:03 AM

Post #1 of 2 (867 views)
Permalink
Last Updated, transaction.

I've modified my RT::Action::EscalatePriority to not log a transaction
as this would be run daily and get pretty messy over time.

I have a question though, using _Set or some other method is it possible
for it to not update LastUpdated and LastUpdatedBy as there is no
recorded transaction it simply adds confusion

Looking at Record.pm it doesn't seem possible, at least not the same way
the arg RecordTransaction. Is it possible to set $self->_Accessible(
'LastUpdated', 'auto' ) or $attribs{'LastUpdated'} to non auto on the fly?

Thanks for your time.
Curtis
_______________________________________________
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


ruslan.zakirov at gmail

Aug 14, 2009, 1:39 PM

Post #2 of 2 (777 views)
Permalink
Re: Last Updated, transaction. [In reply to]

Look at lib/RT/Action/LinearEscalate.pm in RT 3.8

On Fri, Aug 14, 2009 at 9:03 PM, Curtis Bruneau<curtisb [at] vianet> wrote:
> I've modified my RT::Action::EscalatePriority to not log a transaction
> as this would be run daily and get pretty messy over time.
>
> I have a question though, using _Set or some other method is it possible
> for it to not update LastUpdated and LastUpdatedBy as there is no
> recorded transaction it simply adds confusion
>
> Looking at Record.pm it doesn't seem possible, at least not the same way
> the arg RecordTransaction. Is it possible to set $self->_Accessible(
> 'LastUpdated', 'auto' ) or $attribs{'LastUpdated'} to non auto on the fly?
>
> Thanks for your time.
> Curtis
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>



--
Best regards, Ruslan.
_______________________________________________
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.