Folks!
I’ve just to install RTFM-2.2.0RC2, our Request Tracker is 3.4.5,
when I try to attach an article to one ticket I get the following
error:
error: RT::FM::Article::_UpdateTimeTaken Unimplemented in
RT::Record. (/opt/rt3/lib/RT/Record.pm line 1462)
context:
…
492: else {
493: my ( $package, $filename, $line );
494: ( $package, $filename, $line ) = caller;
495:
496: die “$AUTOLOAD Unimplemented in $package. ($filename line $line) \n”;
497: }
498:
499: }
500:
…
code stack: /usr/lib/perl5/site_perl/5.8.5/DBIx/SearchBuilder/Record.pm:496
/opt/rt3/lib/RT/Record.pm:1462
/opt/rt3/lib/RT/Ticket_Overlay.pm:2641
/opt/rt3/lib/RT/Ticket_Overlay.pm:2557
/opt/rt3/lib/RT/Interface/Web.pm:1496
/opt/rt3/lib/RT/Interface/Web.pm:1446
/opt/rt3/share/html/Ticket/Display.html:145
/opt/rt3/share/html/Ticket/Update.html:214
/opt/rt3/share/html/autohandler:215
So what’s the next there is a patch for this?
Thanks in advance…
Pablo
So what’s the next there is a patch for this?
This is already fixed in RT 3.5 and above – I just backported the fix
into 3.4, as well. Patch is below.
Modified: rt/branches/3.4-RELEASE/lib/RT/Record.pm
— rt/branches/3.4-RELEASE/lib/RT/Record.pm (original)
+++ rt/branches/3.4-RELEASE/lib/RT/Record.pm Tue Mar 28 15:50:07 2006
@@ -1459,7 +1459,7 @@
$self->_SetLastUpdated;
- if ( defined $args{‘TimeTaken’} ) {
- if ( defined $args{‘TimeTaken’} and $self->can(‘_UpdateTimeTaken’))
{
$self->_UpdateTimeTaken( $args{‘TimeTaken’} );
}
if ( $RT::UseTransactionBatch and $transaction ) {
Hi Alex:
Thanks for your response, when I try to apply the patch I get the
following error:
[root@sar parches]# patch -p1 Record.pm.sinparche < parche.txt
patching file Record.pm.sinparche
patch: **** malformed patch at line 7: $self->_SetLastUpdated;
Why this?, attach the patch file for your inspection
Greetings,
PabloOn 3/28/06, Alex Vandiver alexmv@bestpractical.com wrote:
On Tue, 2006-03-28 at 16:27 -0400, Pablo Silva wrote:
So what’s the next there is a patch for this?
This is already fixed in RT 3.5 and above – I just backported the fix
into 3.4, as well. Patch is below.
Modified: rt/branches/3.4-RELEASE/lib/RT/Record.pm
— rt/branches/3.4-RELEASE/lib/RT/Record.pm (original)
+++ rt/branches/3.4-RELEASE/lib/RT/Record.pm Tue Mar 28 15:50:07 2006
@@ -1459,7 +1459,7 @@
$self->_SetLastUpdated;
- if ( defined $args{‘TimeTaken’} ) {
- if ( defined $args{‘TimeTaken’} and $self->can(‘_UpdateTimeTaken’))
{
$self->_UpdateTimeTaken( $args{‘TimeTaken’} );
}
if ( $RT::UseTransactionBatch and $transaction ) {
parche.txt (514 Bytes)
Why this?, attach the patch file for your inspection
Whitespace is significant in patch files, and you seem to have failed to
copy it correctly. Try the attached.
Whitespace is significant in patch files, and you seem to have failed to
copy it correctly. Try the attached.
…helps if I actually attach it.
timetaken.patch (493 Bytes)