A couple bugs in RT 3.8.3

Just a few things I’ve found out so far:

  • the new “homepage refresh interval” option in “preferences” doesn’t work
  • when I’m root and I click on “configuration”->“users”->“whichever_user_name”->“History”, I have this error message:

Can’t locate object method “Name” via package “No object mapping for field” (perhaps you forgot to load “No object mapping for field”?) at /opt/rt3/local/plugins/RT-Extension-ForkTicket/html/Callbacks/RT-Extension-ForkTicket/Ticket/Elements/ShowTransaction/ModifyCommand line 7.

it seems the culprit is the “ForkTicket” extension… maybe it is broken by the recent upgrade?

Thank you
Bye
Cris

Just my 2c

RT 3.8.3 Linux (Centos5) /64 Bit

  • the new “homepage refresh interval” option in “preferences” doesn’t
    work

works for me

  • when I’m root and I click on
    “configuration”->“users”->“whichever_user_name”->“History”, I have
    this error message:

works for me

Seems more individual problems of your setup.

regards!

sven

Just a few things I’ve found out so far:

  • the new “homepage refresh interval” option in “preferences”
    doesn’t work

You’ll need to tell us more, it works for me.
Please note that the page-level widget overrides the preference for
the session
so that you can change the behavior without changing your preference.

  • when I’m root and I click on “configuration”->“users”-

“whichever_user_name”->“History”, I have this error message:

Can’t locate object method “Name” via package “No object mapping for
field” (perhaps you forgot to load “No object mapping for field”?)
at /opt/rt3/local/plugins/RT-Extension-ForkTicket/html/Callbacks/RT-
Extension-ForkTicket/Ticket/Elements/ShowTransaction/ModifyCommand
line 7.

it seems the culprit is the “ForkTicket” extension… maybe it is
broken by the recent upgrade?

It certainly seems like ForkTicket is breaking, but that isn’t
maintained by us and doesn’t
seem to be on CPAN so I’m not sure where you should report the bug.
Hopefully the author
reads the list.

-kevin

  • the new “homepage refresh interval” option in “preferences”
    doesn’t work

This works for me.

  • when I’m root and I click on “configuration”->“users”-

“whichever_user_name”->“History”, I have this error message:

Can’t locate object method “Name” via package “No object mapping for
field” (perhaps you forgot to load “No object mapping for field”?)
at /opt/rt3/local/plugins/RT-Extension-ForkTicket/html/Callbacks/RT-
Extension-ForkTicket/Ticket/Elements/ShowTransaction/ModifyCommand
line 7.

it seems the culprit is the “ForkTicket” extension… maybe it is
broken by the recent upgrade?

Yes, one of the callbacks is. My hack was such: (note that this also
disables Pre/Post-task which we don’t use – but you can easily add
them back in)

— ModifyCommand_orig 2009-02-19 11:42:06.000000000 -0800
+++ ModifyCommand 2009-06-02 15:49:50.000000000 -0700
@@ -4,10 +4,15 @@
my $PosttaskURL = “[<a href="” . $ForkPath . “?
CreateType=Posttask&QuoteTransaction=” . $Transaction->Id .
“">PostTask]”;
my $CloneURL = “[<a href="” . $ForkPath . “?
CreateType=Clone&QuoteTransaction=” . $Transaction->Id . “">Clone</
a>]”;

-if ($Transaction->Type =~ /^(Create|Correspond|Comment)$/ && $Ticket-

QueueObj->Name !~ /^(Approval)$/ && $Transaction->TicketObj-
CurrentUserHasRight(‘ModifyTicket’)) {

  • $$titlebar_cmd .= $PretaskURL;
  • $$titlebar_cmd .= $PosttaskURL;
  • $$titlebar_cmd .= $CloneURL;
    +if( ref( $Ticket->QueueObj ) ) {
  •   if ($Transaction->Type =~ /^(Create|Correspond|Comment)$/ &&  
    

$Ticket->QueueObj->Name !~ /^(Approval)$/ && $Transaction->TicketObj-

CurrentUserHasRight(‘ModifyTicket’)) {

  •           $$titlebar_cmd .= $CloneURL;
    
  •   }
    

+}
+else {

  •   if ($Transaction->Type =~ /^(Create|Correspond|Comment)$/ &&  
    

$Transaction->TicketObj->CurrentUserHasRight(‘ModifyTicket’)) {

  •           $$titlebar_cmd .= $CloneURL;
    
  •   }
    
    }
    </%INIT>
    <%ARGS>

Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source
and other randomness

Hi Kevin!

Da: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] Per conto di Kevin Falcone
Inviato: giovedì 4 giugno 2009 16.31
A: RT Users
Oggetto: Re: [rt-users] a couple bugs in RT 3.8.3

Just a few things I’ve found out so far:

  • the new “homepage refresh interval” option in “preferences”
    doesn’t work

You’ll need to tell us more, it works for me.

Well, there’s not much more I can say.

I have set the HomePageRefreshInterval variable in RT_SiteConfig this way:

Set($HomePageRefreshInterval, 2);

Now, if I go in my preferences I see: “Home page refresh interval: Use system default(2)”. So it seems correct, but it is NOT working (the RT at a glance page does not refresh). The “Refresh” box in the home page reports “Don’t refresh this page”.

If I go in my preferences and set the “Home page refresh interval” to “Refresh home page every 2 minutes.”, then I log out and back in, I still see “Don’t refresh this page” in the home page, and indeed the page does not refresh.

If I explicitely set “Refresh home page every 2 minutes.” in the “Refresh” box in the home page, then it DOES work.

I see most of the users on the mailing list have it working though… could it be that I have forgotten something during the upgrade? Or do you have other tips?

  • when I’m root and I click on “configuration”->“users”-

“whichever_user_name”->“History”, I have this error message:

Can’t locate object method “Name” via package “No object mapping for
field” (perhaps you forgot to load “No object mapping for field”?)
at /opt/rt3/local/plugins/RT-Extension-ForkTicket/html/Callbacks/RT-
Extension-ForkTicket/Ticket/Elements/ShowTransaction/ModifyCommand
line 7.

it seems the culprit is the “ForkTicket” extension. maybe it is
broken by the recent upgrade?

It certainly seems like ForkTicket is breaking, but that isn’t
maintained by us and doesn’t
seem to be on CPAN so I’m not sure where you should report the bug.
Hopefully the author
reads the list.

Yes, that was my intent.

Thank you!
Bye
Cris

Guadagnino Cristiano wrote:

Hi Kevin!

Da: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] Per conto di Kevin Falcone
Inviato: gioved� 4 giugno 2009 16.31
A: RT Users
Oggetto: Re: [rt-users] a couple bugs in RT 3.8.3

Just a few things I’ve found out so far:

  • the new “homepage refresh interval” option in “preferences”
    doesn’t work

You’ll need to tell us more, it works for me.

Well, there’s not much more I can say.

I have set the HomePageRefreshInterval variable in RT_SiteConfig this way:

Set($HomePageRefreshInterval, 2);

From RT_Config.pm:
<$HomePageRefreshInterval> is default number of seconds to refresh the RT
home page. Choose from [0, 120, 300, 600, 1200, 3600, 7200].

Now, if I go in my preferences I see: “Home page refresh interval: Use system default(2)”. So it seems correct, but it is NOT working (the RT at a glance page does not refresh). The “Refresh” box in the home page reports “Don’t refresh this page”.

If I go in my preferences and set the “Home page refresh interval” to “Refresh home page every 2 minutes.”, then I log out and back in, I still see “Don’t refresh this page” in the home page, and indeed the page does not refresh.

If I explicitely set “Refresh home page every 2 minutes.” in the “Refresh” box in the home page, then it DOES work.

I see most of the users on the mailing list have it working though… could it be that I have forgotten something during the upgrade? Or do you have other tips?

  • when I’m root and I click on “configuration”->“users”-

“whichever_user_name”->“History”, I have this error message:

Can’t locate object method “Name” via package “No object mapping for
field” (perhaps you forgot to load “No object mapping for field”?)
at /opt/rt3/local/plugins/RT-Extension-ForkTicket/html/Callbacks/RT-
Extension-ForkTicket/Ticket/Elements/ShowTransaction/ModifyCommand
line 7.

it seems the culprit is the “ForkTicket” extension. maybe it is
broken by the recent upgrade?

It certainly seems like ForkTicket is breaking, but that isn’t
maintained by us and doesn’t
seem to be on CPAN so I’m not sure where you should report the bug.
Hopefully the author
reads the list.

Yes, that was my intent.

Thank you!
Bye
Cris


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Drew Barnes
Applications Analyst
Network Resources Department
Raymond Walters College
University of Cincinnati

Hi Drew,

Da: Drew Barnes [mailto:barnesaw@ucrwcu.rwc.uc.edu]
Inviato: venerdì 5 giugno 2009 14.34
A: Guadagnino Cristiano
Oggetto: Re: [rt-users] R: a couple bugs in RT 3.8.3

Well, there’s not much more I can say.

I have set the HomePageRefreshInterval variable in RT_SiteConfig this way:

Set($HomePageRefreshInterval, 2);

From RT_Config.pm:
<$HomePageRefreshInterval> is default number of seconds to refresh the RT
home page. Choose from [0, 120, 300, 600, 1200, 3600, 7200].

Thank you very much Drew for the additional information.
I have now set it to 120 and restarted Apache. Unfortunately, this didn’t achieve the expected result. The behaviour is the same as before.

Bye
Cris

Hi,

I need to modify and /or add new entries to the Status field in a ticket. Where can I make these changes?

Cheers,

MM

Michael,

You will need to go to $RTHOME/etc and change the RT_SiteConfig.pm 

file. this is what WE have set:

@ActiveStatus = (‘new’, ‘open’, ‘QA testing’, ‘stalled’) unless
@ActiveStatus;

We are on 3.6.4 so if the directory sequences have changed for later
versions, what I say here will also need to be changed accordingly. If
you want any new status to also show in the queries “MySupportQueues”
and “QuickSearch”, the you have to add the new status values in these
modules at $RTHOME/local/html/Elements (for both “MySupportQueues” and
“QuickSearch”). We did ours this way:

“MySupportQueues” – replacement code of line #52:

LBNL replacement code ===============

conditions => [ {cond => “Status = ‘new’”, name => loc (‘new’) },
{cond => “Status = ‘open’”, name => loc
(‘open’) },
{cond => “Status = ‘QA testing’”, name => loc
(‘QA testing’) },
{cond => “Status = ‘stalled’”, name => loc
(‘stalled’) }] &>

end of LBNL replacement code

“Quicksearch” – Replacement code for line #54:

LBNL replacement code ===============

conditions => [ {cond => “Status = ‘new’”, name => loc (‘new’) },
{cond => “Status = ‘open’”, name => loc
(‘open’) },
{cond => “Status = ‘QA testing’”, name => loc
(‘QA testing’) },
{cond => “Status = ‘stalled’”, name => loc
(‘stalled’) }] &>

end of LBNL replacement code

If you don't have these modules in /local/ you will need to copy 

them over from /share/. That should do it. Good luck!

Kenn
LBNLOn 6/5/2009 8:15 AM, Michael Mai wrote:

Hi,

I need to modify and /or add new entries to the Status field in a ticket. Where can I make these changes?

Cheers,

MM


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Thank you very much Drew for the additional information.
I have now set it to 120 and restarted Apache. Unfortunately, this
didn’t achieve the expected result. The behaviour is the same as
before.

Is RefreshHomepage a HomepageComponent?

Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source
and other randomness

Thanks, guys…I¹ve uploaded a new ForkTicket that eliminates this error (at
least for me) in RT 3.8.3. I need to work on getting it into CPAN, but in
the meantime you can download it from

 http://www.letu.edu/people/markroedel/RT-Extension-ForkTicket-0.2.tgz

Mark Roedel
Webmaster
LeTourneau University
Longview, TexasOn 6/4/09 8:27 PM, “Jo Rhett” jrhett@netconsonance.com wrote:

On Jun 4, 2009, at 5:44 AM, Guadagnino Cristiano wrote:

  • when I’m root and I click on
    “configuration”->“users”->“whichever_user_name”->“History”, I have this error
    message:

Can’t locate object method “Name” via package “No object mapping for field”
(perhaps you forgot to load “No object mapping for field”?) at
/opt/rt3/local/plugins/RT-Extension-ForkTicket/html/Callbacks/RT-Extension-Fo
rkTicket/Ticket/Elements/ShowTransaction/ModifyCommand line 7.

it seems the culprit is the “ForkTicket” extensionŠ maybe it is broken by the
recent upgrade?

Yes, one of the callbacks is. My hack was such: (note that this also
disables Pre/Post-task which we don’t use – but you can easily add them back
in)

Hi Michael,

You must do this: ActiveStatus - Request Tracker Wiki

Or also you can do that:
http://wiki.bestpractical.com/view/InactiveStatus

Best regards,

ALBERTO VILLANUEVA DEL VAL
Consultant
Altran Technologies
ParqueEmpresarial Las Mercedes, Edificio 1
Campezo Street, 1- 28022 - Madrid, Spain
Tel: + 34 91 744 46 00 - Ext: 2205
Fax: + 34 91 415 24 57
www.altran.es

-----Mensaje original-----
De: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] En nombre
de Michael Mai
Enviado el: viernes, 05 de junio de 2009 17:16
Para: RT Users
Asunto: [rt-users] HOWTO: add entries to Status field

Hi,

I need to modify and /or add new entries to the Status field
in a ticket. Where can I make these changes?

Cheers,

MM


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com Commercial
support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly
Media.

Yes, I have this in my RT_Config.pm:

Set($HomepageComponents, [qw(QuickCreate Quicksearch MyAdminQueues MySupportQueues MyReminders RefreshHomepage Dashboards)]);

Bye
Cris

-----Messaggio originale-----
Da: Jo Rhett [mailto:jrhett@netconsonance.com]
Inviato: venerdì 5 giugno 2009 20.37
A: Guadagnino Cristiano
Oggetto: Re: [rt-users] R: R: a couple bugs in RT 3.8.3On Jun 5, 2009, at 6:21 AM, Guadagnino Cristiano wrote:

Thank you very much Drew for the additional information.
I have now set it to 120 and restarted Apache. Unfortunately, this
didn’t achieve the expected result. The behaviour is the same as
before.

Is RefreshHomepage a HomepageComponent?

Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source
and other randomness

Hi all,
I just wanted to let you all know that I resolved my problem (HomePageRefreshInterval not working) by clearing the mason cache! Stupid me for not thinking about this before!!

Thank you all for the help offered.

Bye
Cris

-----Messaggio originale-----
Da: Jo Rhett [mailto:jrhett@netconsonance.com]
Inviato: venerdì 5 giugno 2009 20.37
A: Guadagnino Cristiano
Oggetto: Re: [rt-users] R: R: a couple bugs in RT 3.8.3On Jun 5, 2009, at 6:21 AM, Guadagnino Cristiano wrote:

Thank you very much Drew for the additional information.
I have now set it to 120 and restarted Apache. Unfortunately, this
didn’t achieve the expected result. The behaviour is the same as
before.

Is RefreshHomepage a HomepageComponent?

Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source
and other randomness