[rt-users] Wrong ticket URL in Links

2006-08-22 Thread Nguyen Anh Phu

Hi all,

I install rt-3.6.1 on one PC in my intranet. In my intranet all PCs
get IP Addresses from a DHCP server, there's no DNS server here.
Now I have a question related to WebBaseURL variable. What value
should I set to this variable to make rt accessible from other PCs in
the same intranet?

1. If I set WebBaseURL to "http://localhost";, then everything works
fine except links in Links part of a ticket, all of them are use
"http://localhost"; for their URL. Are they made by concate

2. If I set WebBaseURL to "" (empty string) then links in Links part
are OK. If I create a new ticket using "Quick ticket creation" it's
OK. However, if I create a new ticket using "New ticket in" button I
get this error:



error:  Can't locate object method "host" via package
"URI::_generic" at /opt/rt3_libot/lib/RT/Interface/Web.pm line 193.

context:
... 
189:
190:# If the user is coming in via a non-canonical
191:# hostname, don't redirect them to the canonical host,
192:# it will just upset them (and invalidate their credentials)
193:if ($uri->host eq $server_uri->host &&
194:$uri->port eq $server_uri->port) {
195:$uri->host($ENV{'HTTP_HOST'});
196:$uri->port($ENV{'SERVER_PORT'});
197:}
... 
code stack: /opt/rt3_libot/lib/RT/Interface/Web.pm:193
/opt/rt3_libot/share/html/Ticket/Display.html:162
/opt/rt3_libot/share/html/Ticket/Create.html:300
/opt/rt3_libot/share/html/autohandler:279

raw error

Can't locate object method "host" via package "URI::_generic" at
/opt/rt3_libot/lib/RT/Interface/Web.pm line 193.


Trace begun at /usr/local/share/perl/5.8.4/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object
method "host" via package "URI::_generic" at
/opt/rt3_libot/lib/RT/Interface/Web.pm line 193.^J') called at
/opt/rt3_libot/lib/RT/Interface/Web.pm line 193
RT::Interface::Web::Redirect('/rtlibot/Ticket/Display.html?id=11')
called at /opt/rt3_libot/share/html/Ticket/Display.html line 162
HTML::Mason::Commands::__ANON__('TimeEstimated', '', 'Status', 'new',
'new-DependsOn', '', 'Queue', 'General', 'AdminCc', '', 'Requestors',
'[EMAIL PROTECTED]', 'InitialPriority', 0, 'Starts', '', 'Attach',
'', 'TimeWorked', '', 'id', 'new', 'TimeEstimated-TimeUnits',
'minutes', 'Cc', '', 'Subject', 'Testt', 'new-RefersTo',
'', 'FinalPriority', 0, 'TimeLeft', '', 'TimeLeft-TimeUnits',
'minutes', 'RefersTo-new', '', 'Owner', 30, 'DependsOn-new', '',
'new-MemberOf', '', 'MemberOf-new', '', 'Content', '',
'TimeWorked-TimeUnits', 'minutes', 'Due', '') called at
/usr/local/share/perl/5.8.4/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa336890)',
'TimeEstimated', '', 'Status', 'new', 'new-DependsOn', '', 'Queue',
'General', 'AdminCc', '', 'Requestors', '[EMAIL PROTECTED]',
'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '',
'id', 'new', 'TimeEstimated-TimeUnits', 'minutes', 'Cc', '',
'Subject', 'Testt', 'new-RefersTo', '', 'FinalPriority',
0, 'TimeLeft', '', 'TimeLeft-TimeUnits', 'minutes', 'RefersTo-new',
'', 'Owner', 30, 'DependsOn-new', '', 'new-MemberOf', '',
'MemberOf-new', '', 'Content', '', 'TimeWorked-TimeUnits', 'minutes',
'Due', '') called at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm
line 1256
eval {...} at /usr/local/share/perl/5.8.4/HTML/Mason/Request.pm line 1250
HTML::Mason::Request::comp(undef, undef, 'TimeEstimated', '',
'Status', 'new', 'new-DependsOn', '', 'Queue', 'General', 'AdminCc',
'', 'Requestors', '[EMAIL PROTECTED]', 'InitialPriority', 0,
'Starts', '', 'Attach', '', 'TimeWorked', '', 'id', 'new',
'TimeEstimated-TimeUnits', 'minutes', 'Cc', '', 'Subject',
'Testt', 'new-RefersTo', '', 'FinalPriority', 0,
'TimeLeft', '', 'TimeLeft-TimeUnits', 'minutes', 'RefersTo-new', '',
'Owner', 30, 'DependsOn-new', '', 'new-MemberOf', '', 'MemberOf-new',
'', 'Content', '', 'TimeWorked-TimeUnits', 'minutes', 'Due', '')
called at /opt/rt3_libot/share/html/Ticket/Create.html line 300
HTML::Mason::Commands::__ANON__('TimeEstimated', '', 'Status', 'new',
'new-DependsOn', '', 'Queue', 'General', 'AdminCc', '', 'Requestors',
'[EMAIL PROTECTED]', 'InitialPriority', 0, 'Starts', '', 'Attach',
'', 'TimeWorked', '', 'id', 'new', 'TimeEstimated-TimeUnits',
'minutes', 'Cc', '', 'Subject', 'Testt', 'new-RefersTo',
'', 'FinalPriority', 0, 'RefersTo-new', '', 'TimeLeft-TimeUnits',
'minutes', 'TimeLeft', '', 'DependsOn-new', '', 'Owner', 30,
'new-MemberOf', '', 'MemberOf-new', '', 'Content', '', 'Due', '',
'TimeWorked-TimeUnits', 'minutes', 'TimeEstimated', '', 'Status',
'new', 'new-DependsOn', '', 'Queue', 'General', 'AdminCc', '',
'Requestors', '[EMAIL PROTECTED]', 'InitialPriority', 0, 'Starts',
'', 'Attach', '', 'TimeWorked', '', 'id', 'new',
'TimeEstimated-TimeUnits', 'minutes', 'Cc', '', 'Subject',
'Testt', 'FinalPriority', 0, 'new-RefersTo', '',
'RefersTo-new'

[rt-users] Automatic version update to production

2006-08-22 Thread Kenneth Crocker

To all,


	We have a version control system where we keep our modified scrips and 
templates. We want to use it to automatically move a new version (of the 
scrip or template) into RT. Does anyone out there have any experience 
with this sort of thing? Thanks.



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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Reply to closed ticket should open a new one

2006-08-22 Thread Rick Russell


Not to mention all the tickets you'll with content like "thank you" and 
"why are you sending me mail again?" and "please stop sending me mail I 
don't want another ticket!"


Rick R.

Roy El-Hames wrote:
By creating a new ticket you are duplicating data, also the staff will 
most likely have to reference the old resolved ticket any way

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Problems after User shredding

2006-08-22 Thread Mathew Snyder
Mathew Snyder wrote:
> In a previous post I had asked about a problem involving removing a user
> via Shredder.  Turns out it was a legitimate user that shouldn't have
> been removed.
> 
> I've been re-associating all loose connections in the database to root
> so they should still be there.  I need to know if it is possible to
> reattach the items in the database to the tickets they belong to?
> 
> Here is the error:
> 
> error:Can't call method "Name" on an undefined value at
> /usr/local/rt-3.6.1/lib/RT/Transaction_Overlay.pm line 696.
> context:  
> ...   
> 692:  DelWatcher => sub {
> 693:  my $self = shift;
> 694:  my $principal = RT::Principal->new($self->CurrentUser);
> 695:  $principal->Load($self->OldValue);
> 696:  return $self->loc( "[_1] [_2] deleted", $self->Field,
> $principal->Object->Name);
> 697:  },
> 698:  Subject => sub {
> 699:  my $self = shift;
> 700:  return $self->loc( "Subject changed to [_1]", $self->Data );
> ...   
> code stack:   /usr/local/rt-3.6.1/lib/RT/Transaction_Overlay.pm:696
> /usr/local/rt-3.6.1/lib/RT/Transaction_Overlay.pm:602
> /usr/local/rt-3.6.1/share/html/Ticket/Elements/ShowTransaction:54
> /usr/local/rt-3.6.1/share/html/Ticket/Elements/ShowHistory:102
> /usr/local/rt-3.6.1/share/html/Ticket/Display.html:63
> /usr/local/rt-3.6.1/share/html/autohandler:279
> raw error
> 
> Any and all help is appreciated.
> 
> 
> Mathew Snyder
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: [EMAIL PROTECTED]
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 

Upon further review, I'm not sure this has anything to do with Shredder.
 The user that created the ticket which is experiencing this problem is
still in our database as are two other email addresses associated with
the ticket.  I haven't removed anything else from the ticket so I'm not
sure what to look for.  I suppose I may have removed a user that
responded that I didn't recognize as part of the ticket but can't say
for certain.


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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


RE: [rt-users] CLI: manipulating "privileged" status

2006-08-22 Thread Stuart J. Browne
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Ole Craig
> Sent: Wednesday, August 23, 2006 11:36 AM
> To: Torsten Brumm
> Cc: rt-users@lists.bestpractical.com
> Subject: Re: [rt-users] CLI: manipulating "privileged" status
> 
> On Tue, 2006-08-22 at 12:06 +0200, Torsten Brumm wrote:
> > and read with this sh scrip from csv file:
> [...]
> > 
> > 2006/8/22, Torsten Brumm <[EMAIL PROTECTED]>:
> > Try the following sniplet:
> [...]
> 
> Torsten -
> Thanks muchly! I'll give it a whirl tonight. Looks like this
> creates the user and sets privileged at the same time? Or does
> 
>  $User->Create()
> 
> allow modification of existing users as well as creation of new ones?

I've always used:

#
# create as a new user, putting the first address in a few places for easy
recognition
#
my %UserDetails = (
'Name' => $user,
'EmailAddress' => $user,
'ExternalContactInfoId' => $uid,
'Comments' => "Auto-created upon user creation",
'Gecos' => substr($uid, 0, index($uid, '@'))
);
my ($status, $msg) = $User->Create(%UserDetails);
if ($status) {
print "Done.\n";
} else {
printf("Failed (%s).\n", $msg);
exit(1);
}
}
#
# If we still don't have a User ID, die off
#
unless ($User->id) {
printf("Whoa, something really odd happened!  User should have been
created (%s)!\n", $user);
exit(2);
};
#
# Make sure the user can take privileges.  Do this here instead of upon
creation, as the user might already exist
#
printf("Found user (%s::%d).  Checking privileges setting: ", $user,
$User->id);
if ($User->Privileged()) {
print "Yes.\n";
} else {
print "No. Granting.. ";
#
# They didn't have privs.  Give them to the user
#
if ($User->SetPrivileged(1)) {
print "Done.\n";
} else {
print "Failed.\n";
exit(1);
}
}


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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Problems after User shredding

2006-08-22 Thread Mathew Snyder
In a previous post I had asked about a problem involving removing a user
via Shredder.  Turns out it was a legitimate user that shouldn't have
been removed.

I've been re-associating all loose connections in the database to root
so they should still be there.  I need to know if it is possible to
reattach the items in the database to the tickets they belong to?

Here is the error:

error:  Can't call method "Name" on an undefined value at
/usr/local/rt-3.6.1/lib/RT/Transaction_Overlay.pm line 696.
context:
... 
692:DelWatcher => sub {
693:my $self = shift;
694:my $principal = RT::Principal->new($self->CurrentUser);
695:$principal->Load($self->OldValue);
696:return $self->loc( "[_1] [_2] deleted", $self->Field,
$principal->Object->Name);
697:},
698:Subject => sub {
699:my $self = shift;
700:return $self->loc( "Subject changed to [_1]", $self->Data );
... 
code stack: /usr/local/rt-3.6.1/lib/RT/Transaction_Overlay.pm:696
/usr/local/rt-3.6.1/lib/RT/Transaction_Overlay.pm:602
/usr/local/rt-3.6.1/share/html/Ticket/Elements/ShowTransaction:54
/usr/local/rt-3.6.1/share/html/Ticket/Elements/ShowHistory:102
/usr/local/rt-3.6.1/share/html/Ticket/Display.html:63
/usr/local/rt-3.6.1/share/html/autohandler:279
raw error

Any and all help is appreciated.


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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] CLI: manipulating "privileged" status

2006-08-22 Thread Ole Craig
On Tue, 2006-08-22 at 12:06 +0200, Torsten Brumm wrote:
> and read with this sh scrip from csv file:
[...]
> 
> 2006/8/22, Torsten Brumm <[EMAIL PROTECTED]>:
> Try the following sniplet:
[...]

Torsten -
Thanks muchly! I'll give it a whirl tonight. Looks like this
creates the user and sets privileged at the same time? Or does

 $User->Create()

allow modification of existing users as well as creation of new ones?

Thanks again,
Ole
-- 
/Ole Craig
Security Engineer

303-381-3802 (main support hotline)
303-381-3824 (my direct line)
303-381-3801 (fax)

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] EditCustomFieldAtUpdate Callback breaks in 3.6.1

2006-08-22 Thread Ted Cabeen
The EditCustomFieldAtUpdate Callback from the wiki seems to be broken
in 3.6.1.  Is anyone else seeing this no longer work for them, or is
there something screwy in my setup?

-- 
Ted Cabeen
Sr. Systems/Network Administrator
Impulse Internet Services LLC



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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] RE: Subdomain being stripped

2006-08-22 Thread Yvo van Doorn
Ugh I feel stupid. In the queue options I just entered the entire email address ([EMAIL PROTECTED]) instead of just the mailbox name (rt-longterm). I promise next time I'll actually have a valid reason to email the list. 
Yvo
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

[rt-users] Subdomain being stripped

2006-08-22 Thread Yvo van Doorn
Hi all,I am attempting to install RT 3.6.1 on a FreeBSD 6.1 machine. RT is running on the machine without a problem. The only problem I am experiencing at this point is that the reply to and outgoing messages from the RT software is being sent without its subdomain, which in my case is crucial. When I send test messages from the command line to my mail box they do arrive with the subdomain intact. Where can I set the option to require the subdomain to be in the outgoing mail message?
Yvo
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

Re: [rt-users] Sort order of Users

2006-08-22 Thread Kenneth Crocker

Eric,


Thanks a bunch. We'll get on this a see what happens.

Kenn
LBNL
Schultz, Eric wrote:

I just made the while loop in share/html/Admin/Groups/Members.html first
add people to a hash, then used a foreach with sort to get them in the
proper order.  My code is based on 3.4.1, and here is the diff:

@@ -77,9 +77,15 @@
 % my $UserMembers = $Group->MembersObj;
 % $UserMembers->LimitToUsers();
 
+
+% my %Members;
 % while (my $member = $UserMembers->Next()) {
-
-<%$member->MemberObj->Object->Name%>
(<%$member->MemberObj->Object->RealName%>)
+% $Members{ $member->MemberObj->Object->Name } = $member;
+% }
+
+% foreach my $member (sort keys %Members) {
+
+<%$Members{$member}->MemberObj->Object->Name%>
(<%$Members{$member}->MemberObj->Object->RealName%>)
 % }
 
 <&|/l&>Groups

I also made similar changes to other files where the sort order was
based on when the user was added (probably some Id from the database)
rather than something more practical like alphabetical ordering.

Eric Schultz
United Online


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Kenneth Crocker

Sent: Tuesday, August 22, 2006 10:05 AM
To: RT-Users@lists.bestpractical.com
Subject: [rt-users] Sort order of Users

To all,


	I noticed when I add users to my privileged list, they 
end up on the 
end, regardless of what the alphabetical sequence would be. Is there 
anyway to re-sequence them?


Kenn
LBNL

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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





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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


RE: [rt-users] how to display latest modified tickets

2006-08-22 Thread Jacob Helwig
I believe you should be able to do this on 3.2.3, but I can't confirm it, as 
we're currently running 3.4.4.

What we have is two scrips setup for the queues that we want this on.

# Notify the ticket owner of any comments on the ticket.
On Comment Notify Owner as Comment with template Correspondence

And

# Notify owner when others correspond to the ticket
On Correspond Notify Owner with template Correspondence


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Prasad Deshpande
Sent: Tuesday, August 22, 2006 6:05 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] how to display latest modified tickets

Hi ,

I am running RT 3.2.3 on Red Hat 9.  I am facing below mentioned problem.

In my helpdesk environment, there are owners which are working on multiple 
tickets. They communicate with the requestors through RT web interface. So to 
check the requestor's feedback, owner has to glance through all the tickets one 
by one allotted to him and see if somebody has replied back. If the no. of 
tickets are more then it becomes task in itself.  So is there any way out so 
that owner will be informed on the last updated ticket from the main screen 
itself.

If anybody has any suggestion or solution for above mentioned problem, please 
let me know the same.


Thanks,
Prasad Deshpande



DISCLAIMER:
This message,including any attachments contains confidential and privileged 
information for the sole use of the intended recipient(s), and is protected by 
law. If you are not the intended recipient, please destroy all copies of the 
original message. Any unauthorized review, use, disclosure, dissemination, 
forwarding, printing or copying of this email or any action taken in reliance 
on this e-mail is strictly prohibited and may be unlawful. Bajaj Auto reserves 
the right to record, monitor, and inspect all email communications through its 
internal and external networks. Your messages shall be subject to such lawful 
supervision as Bajaj Auto deems necessary in order to protect its information, 
interests and reputation. Bajaj Auto prohibits and takes steps to prevent its 
information systems from being used to view, store or forward offensive or 
discriminatory material. If this message contains such material, please report 
it to [EMAIL PROTECTED]
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


RE: [rt-users] Ticket search and export to tsv

2006-08-22 Thread Hersker, Steve
There's a contribution on the Wiki called SpreadsheetDisplayedFields
which will download just the displayed fields in the search to a tsv
(including the creator of the ticket).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phanoko
Sent: Tuesday, August 22, 2006 11:18 AM
To: RT Users
Subject: [rt-users] Ticket search and export to tsv

When I add colums to export like who created the
ticket they do not export with the tsv file.  It seems
that only the default fields actually export.  Is this
a bug resolved in a newer version?

RT 3.4.4

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Starting point for a newbye?

2006-08-22 Thread Sean Haselden

A great place to start is the wiki:
http://wiki.bestpractical.com/index.cgi

Luis Motta Campos wrote:

  Dear List People

  I've just started studing RT this week, and I'm a bit confused here.
  Anyone could please tell me about a nice starting point from where to
start reading the documentation so I learn how to build standalone
applications using the RT objects and classes to annoy and impress my users.

  Any nice pointers to documentation?
  Thanks you a lot.


--

Sean Haselden
IBM Linux Technology Center
Beaverton, OR
503-578-4229; T/L 775-4229
[EMAIL PROTECTED]

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] Weird behaviour in RT. Please help !!!

2006-08-22 Thread Dario Luis Coneglian Oliveros




Where can I find it ?
I cheked the latest changes in wiki, but could not find any patch :-(
Thanks
Jesse Vincent wrote:

  

On Tue, Aug 22, 2006 at 03:42:19PM -0300, Dario Luis Coneglian Oliveros wrote:
  
  
Consider you have a fresh installation of RT (3.6.0 or 3.6.1) with the 
following configuration:

  
  
See the patch Jim Meyer sent this morning.




  
  
RT_SiteConfig.pm

Set($WebBaseURL , "http://:$WebPort");
Set($WebPath , "/rt/demo");

rt.conf (apache configuration file)
---
AddHandler fastcgi-script fcgi
FastCgiServer /l/disk0/tools/rt/demo/bin/mason_handler.fcgi 
-idle-timeout 120 -processes 3
ScriptAlias /rt/demo/ /l/disk0/tools/rt/demo/bin/mason_handler.fcgi/

Here are the steps to reproduce the problem:

1) Log in as root
2) Create a ticket in "Quick ticket creation" as root
3) Create a ticket in "Quick ticket creation" as nobody
4) Click on the first ticket (description, not id) at "10 highest 
priority tickets I own" window
5) Click on the second ticket (description, not id) at "10 newest 
unowned tickets" window
In this scenario, step 4 will fail and step 5 will succeed.
If you look at page source, you will see that there's a difference 
between the content (href) of both tables.
First one generates an invalid URL 
(http:///Ticket/Display.html?id=1) and second one a valid URL: 
http:///rt/demo/Ticket/Display.html?id=2
Please note $WebPath (/rt/demo) is not appended to the first URL.

Any help will be very very appreciated !!!
Dário


  

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


  
  
  




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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

Re: [rt-users] Weird behaviour in RT. Please help !!!

2006-08-22 Thread Jesse Vincent



On Tue, Aug 22, 2006 at 03:42:19PM -0300, Dario Luis Coneglian Oliveros wrote:
> Consider you have a fresh installation of RT (3.6.0 or 3.6.1) with the 
> following configuration:

See the patch Jim Meyer sent this morning.




> RT_SiteConfig.pm
> 
> Set($WebBaseURL , "http://:$WebPort");
> Set($WebPath , "/rt/demo");
> 
> rt.conf (apache configuration file)
> ---
> AddHandler fastcgi-script fcgi
> FastCgiServer /l/disk0/tools/rt/demo/bin/mason_handler.fcgi 
> -idle-timeout 120 -processes 3
> ScriptAlias /rt/demo/ /l/disk0/tools/rt/demo/bin/mason_handler.fcgi/
> 
> Here are the steps to reproduce the problem:
> 
> 1) Log in as root
> 2) Create a ticket in "Quick ticket creation" as root
> 3) Create a ticket in "Quick ticket creation" as nobody
> 4) Click on the first ticket (description, not id) at "10 highest 
> priority tickets I own" window
> 5) Click on the second ticket (description, not id) at "10 newest 
> unowned tickets" window
> In this scenario, step 4 will fail and step 5 will succeed.
> If you look at page source, you will see that there's a difference 
> between the content (href) of both tables.
> First one generates an invalid URL 
> (http:///Ticket/Display.html?id=1) and second one a valid URL: 
> http:///rt/demo/Ticket/Display.html?id=2
> Please note $WebPath (/rt/demo) is not appended to the first URL.
> 
> Any help will be very very appreciated !!!
> Dário
> 
> 
>   
> 
>  
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: [EMAIL PROTECTED]
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Weird behaviour in RT. Please help !!!

2006-08-22 Thread Dario Luis Coneglian Oliveros
Consider you have a fresh installation of RT (3.6.0 or 3.6.1) with the 
following configuration:


RT_SiteConfig.pm

Set($WebBaseURL , "http://:$WebPort");
Set($WebPath , "/rt/demo");

rt.conf (apache configuration file)
---
AddHandler fastcgi-script fcgi
FastCgiServer /l/disk0/tools/rt/demo/bin/mason_handler.fcgi 
-idle-timeout 120 -processes 3

ScriptAlias /rt/demo/ /l/disk0/tools/rt/demo/bin/mason_handler.fcgi/

Here are the steps to reproduce the problem:

1) Log in as root
2) Create a ticket in "Quick ticket creation" as root
3) Create a ticket in "Quick ticket creation" as nobody
4) Click on the first ticket (description, not id) at "10 highest 
priority tickets I own" window
5) Click on the second ticket (description, not id) at "10 newest 
unowned tickets" window

In this scenario, step 4 will fail and step 5 will succeed.
If you look at page source, you will see that there's a difference 
between the content (href) of both tables.
First one generates an invalid URL 
(http:///Ticket/Display.html?id=1) and second one a valid URL: 
http:///rt/demo/Ticket/Display.html?id=2

Please note $WebPath (/rt/demo) is not appended to the first URL.

Any help will be very very appreciated !!!
Dário


  

 
___

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


RE: [rt-users] Sort order of Users

2006-08-22 Thread Schultz, Eric
I just made the while loop in share/html/Admin/Groups/Members.html first
add people to a hash, then used a foreach with sort to get them in the
proper order.  My code is based on 3.4.1, and here is the diff:

@@ -77,9 +77,15 @@
 % my $UserMembers = $Group->MembersObj;
 % $UserMembers->LimitToUsers();
 
+
+% my %Members;
 % while (my $member = $UserMembers->Next()) {
-
-<%$member->MemberObj->Object->Name%>
(<%$member->MemberObj->Object->RealName%>)
+% $Members{ $member->MemberObj->Object->Name } = $member;
+% }
+
+% foreach my $member (sort keys %Members) {
+
+<%$Members{$member}->MemberObj->Object->Name%>
(<%$Members{$member}->MemberObj->Object->RealName%>)
 % }
 
 <&|/l&>Groups

I also made similar changes to other files where the sort order was
based on when the user was added (probably some Id from the database)
rather than something more practical like alphabetical ordering.

Eric Schultz
United Online

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Kenneth Crocker
> Sent: Tuesday, August 22, 2006 10:05 AM
> To: RT-Users@lists.bestpractical.com
> Subject: [rt-users] Sort order of Users
> 
> To all,
> 
> 
>   I noticed when I add users to my privileged list, they 
> end up on the 
> end, regardless of what the alphabetical sequence would be. Is there 
> anyway to re-sequence them?
> 
> Kenn
> LBNL
> 
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: [EMAIL PROTECTED]
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Sort order of Users

2006-08-22 Thread Kenneth Crocker

To all,


	I noticed when I add users to my privileged list, they end up on the 
end, regardless of what the alphabetical sequence would be. Is there 
anyway to re-sequence them?


Kenn
LBNL

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] RE: RT able to work ini enterprise? (Rick Garland)

2006-08-22 Thread Rick Garland
What I am wanting is to install RT at various sites overseas. 
The various installations remain synchronized to a Central Management
Server 
of RT here is the states.



Rick Garland
UNIX System Administrator
 
Evolving Systems, Inc
9777 Mount Pyramid Court
Suite 100
Englewood, CO  80112
 
phone:  303-802-2580
cell:  720-210-4671
[EMAIL PROTECTED]
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, August 22, 2006 10:00 AM
To: rt-users@lists.bestpractical.com
Subject: RT-Users Digest, Vol 29, Issue 81

Send RT-Users mailing list submissions to
rt-users@lists.bestpractical.com

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific than
"Re: Contents of RT-Users digest..."


Today's Topics:

   1. RT able to work ini enterprise? (Rick Garland)


--

Message: 1
Date: Tue, 22 Aug 2006 09:57:06 -0600
From: "Rick Garland" <[EMAIL PROTECTED]>
Subject: [rt-users] RT able to work ini enterprise?
To: 
Message-ID:

<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Hi all:
 
Got several sites that are overseas, Atlantic and Pacific.
Would like to know if RT can be installed on systems overseas but the
main management still occurs here in the States. 
 
 
 
Rick Garland
UNIX System Administrator
 
Evolving Systems, Inc
9777 Mount Pyramid Court
Suite 100
Englewood, CO  80112
 
phone:  303-802-2580
cell:  720-210-4671
[EMAIL PROTECTED]
 
 
This e-mail and any attachments may be confidential and/or legally
privileged. If you have received this e-mail and you are not a named
addressee, please inform Evolving Systems TIS at [EMAIL PROTECTED] and
then delete the e-mail from your system. If you are not a named
addressee you must not use, disclose, distribute, copy, print or rely on
this e-mail. To ensure regulatory compliance and for the protection of
our clients and business, Evolving Systems may monitor and read e-mails
sent to and from its servers. Although Evolving Systems routinely
screens for viruses, addressees should scan this e-mail and any
attachments for viruses. Evolving Systems makes no representation or
warranty as to the absence of viruses in this e-mail or any attachments.


Registered Office: 9777 Pyramid Ct Suite 100, Englewood, CO 80112
-- next part --
An HTML attachment was scrubbed...
URL:
http://lists.bestpractical.com/pipermail/rt-users/attachments/20060822/4
77235c8/attachment-0001.htm

--

___
RT-Users mailing list
RT-Users@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users


End of RT-Users Digest, Vol 29, Issue 81

This e-mail and any attachments may be confidential and/or legally privileged. 
If you have received this e-mail and you are not a named addressee, please 
inform Evolving Systems TIS at [EMAIL PROTECTED] and then delete the e-mail 
from your system. If you are not a named addressee you must not use, disclose, 
distribute, copy, print or rely on this e-mail. To ensure regulatory compliance 
and for the protection of our clients and business, Evolving Systems may 
monitor and read e-mails sent to and from its servers. Although Evolving 
Systems routinely screens for viruses, addressees should scan this e-mail and 
any attachments for viruses. Evolving Systems makes no representation or 
warranty as to the absence of viruses in this e-mail or any attachments. 

Registered Office: 9777 Pyramid Ct Suite 100, Englewood, CO 80112
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Starting point for a newbye?

2006-08-22 Thread Luis Motta Campos
  Dear List People

  I've just started studing RT this week, and I'm a bit confused here.
  Anyone could please tell me about a nice starting point from where to
start reading the documentation so I learn how to build standalone
applications using the RT objects and classes to annoy and impress my users.

  Any nice pointers to documentation?
  Thanks you a lot.
-- 
Luis Motta Campos
Segula Technologies Portugal
http://www.segula.pt/
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] RT able to work ini enterprise?

2006-08-22 Thread Rick Garland



Hi 
all:
 
Got several sites 
that are overseas, Atlantic and Pacific.
Would like to know 
if RT can be installed on systems overseas but the main 
management still 
occurs here in the States. 
 
 
 
Rick Garland
UNIX System Administrator
 
Evolving Systems, Inc
9777 Mount Pyramid Court
Suite 100
Englewood, CO  80112
 
phone:  303-802-2580
cell:  
720-210-4671
[EMAIL PROTECTED]
 
 This e-mail and any attachments may be confidential and/or legally privileged. If you have received this e-mail and you are not a named addressee, please inform Evolving Systems TIS at [EMAIL PROTECTED] and then delete the e-mail from your system. If you are not a named addressee you must not use, disclose, distribute, copy, print or rely on this e-mail. To ensure regulatory compliance and for the protection of our clients and business, Evolving Systems may monitor and read e-mails sent to and from its servers. Although Evolving Systems routinely screens for viruses, addressees should scan this e-mail and any attachments for viruses. Evolving Systems makes no representation or warranty as to the absence of viruses in this e-mail or any attachments. Registered Office: 9777 Pyramid Ct Suite 100, Englewood, CO 80112
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

Re: [rt-users] Problems creating ticket in RT v3.6.1

2006-08-22 Thread Matthew Hartwell

Hi all,

I never received a response to my initial
question so I wiped out the entire machine and started from scratch. It's
now running Fedora Core 5, mysql 5.0.22, apache 2.2.2, mod_perl 2.0.2,
and perl 5.8.8. I installed rt3.6.1, built the database and then loaded
it from an export I took before doing the upgrade. Everything seems fine,
but then I see the following error in /var/log/messages:
Aug 22 10:56:13 eaisvr RT: DBD::mysql::st
execute failed: MySQL server has gone away at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm
line 492. (/usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm:492)

This line seems to be before and after
the above line:
Aug 22 10:51:55 eaisvr RT: RT::Handle=HASH(0xa9929e0)
couldn't execute the query 'SELECT main.* FROM Attributes main   WHERE
((main.ObjectId = 1)) AND ((main.ObjectType = 'RT::System')) ' at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm
line 505   DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0xa9929e0)',
'SELECT main.* FROM Attributes main   WHERE ((main.ObjectId = ...')
called at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder.pm line 231
   DBIx::SearchBuilder::_DoSearch('RT::Attributes=HASH(0xbdee4b0)')
called at /opt/rt3/lib/RT/Attributes_Overlay.pm line 71      
 RT::Attributes::_DoSearch('RT::Attributes=HASH(0xbdee4b0)') called
at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder.pm line 491  
DBIx::SearchBuilder::Next('RT::Attributes=HASH(0xbdee4b0)') called at /opt/rt3/lib/RT/Attributes_Overlay.pm
line 79     RT::Attributes::_BuildAccessTable('RT::Attributes=HASH(0xbdee4b0)')
called at /opt/rt3/lib/RT/Attributes_Overlay.pm line 72     RT::Attributes::_DoSearch('RT::Attributes=HASH(0x

Since I've changed out everything else
and I'm still getting the same results I'm starting to think this is related
to the mysqld config (my.cnf), the actual data, or the RT code. Can anyone
point me in some direction to narrow this down?

Thanks,

Matthew T. Hartwell
Lead Systems Analyst
Lanier Worldwide, Inc.
Ph: (770) 723-4229
Fx: (770) 723-4284






Matthew Hartwell <[EMAIL PROTECTED]>

Sent by: [EMAIL PROTECTED]
08/17/2006 08:33 AM




To
rt-users@lists.bestpractical.com


cc



Subject
[rt-users] Problems creating ticket
in RT v3.6.1









Hey all, 

A bit of background -- 
We've just upgraded our RT install from v3.4.5 to v3.6.1. We're running
Apache 2.0.54, mod_perl 2.0.1, perl 5.8.6, and mysql 4.1.20 under Fedora
Core 4. 

Currently non-superusers are able to query and update the database, but
get the error below when trying to create a ticket on the 'Create a New
Ticket' page (or via email). The really odd thing is that when a superuser
tries to create a ticket the same way, no error occurs. I've checked the
mysqld.log and no errors are being shown there and the users can see the
rest of the tickets so I'm sure the database is actually still there are
running. Any thoughts? 

Thanks, 

Matthew T. Hartwell
Lead Systems Analyst
Lanier Worldwide, Inc.
Ph: (770) 723-4229
Fx: (770) 723-4284


System error



error:  
DBD::mysql::st execute failed:
MySQL server has gone away at /usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm
line 70. 

context:  




...  


66:  
if ($self->{lock}) {


67:  
local $self->{dbh}->{RaiseError}
= 1; 

68:  


69:  
my $sth = $self->{dbh}->prepare_cached(q{SELECT
RELEASE_LOCK(?)}, {}, 1); 

70:  
$sth->execute($self->{lockid});


71:  


72:  
$self->{lock} = 0;


73:  
} 

74:  
} 

...  



code stack:  
/usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm:70
/usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm:81
/usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm:87
/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:1259


raw
error





DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm
line 70.


Trace begun at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Exceptions.pm
line 129
HTML::Mason::Exceptions::rethrow_exception('DBD::mysql::st execute failed:
MySQL server has gone away at /usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm
line 70.^J') called at /usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm
line 70
Apache::Session::Lock::MySQL::release_read_lock('Apache::Session::Lock::MySQL=HASH(0xb80dba0)')
called at /usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm line
81
Apache::Session::Lock::MySQL::release_all_locks('Apache::Session::Lock::MySQL=HASH(0xb80dba0)')
called at /usr/lib/perl5/site_perl/5.8.6/Apache/Session/Lock/MySQL.pm line
87
Apache::Session::Lock::MySQL::DESTROY('Apache::Session::Lock::MySQL=HASH(0xb80dba0)')
called at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 1259
eval {...} at /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line
1259
HTML::Mason::Request::comp(undef, undef, undef, 'TimeEstimated', '', 'Status',
'new', 'new-DependsOn', '', 'Queue', 'General', 'AdminCc', '', 'Requestors',
'', 'Object-RT

Re: [rt-users] Question about RT CLI custom field / web-interface

2006-08-22 Thread Joshua Colson
On Tue, 2006-08-22 at 07:08 -0500, [EMAIL PROTECTED] wrote:
> Can you elaborate on this.  I can't seem to figure out how to display my
> custom fields via the cli.  I am using rt 0.02 which came with rt-3.6.1
> 
> Carl

Assuming you have a custom field called 'Training' associated with
ticket number 45367, you could do the following:

[EMAIL PROTECTED]:> rt show -f CF-Training,Subject,Priority ticket/45367 
id: ticket/45367
CF-Training: Yes
Subject: Whatever the subject is currently set to
Priority: 10


The confusing thing about the rt CLI tool in regard to custom fields is
that searching requires a syntax like 'CF.{Training}' and showing uses
the 'CF-Training' form.

HTH

-- 
Joshua Colson <[EMAIL PROTECTED]>

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Ticket search and export to tsv

2006-08-22 Thread Phanoko
When I add colums to export like who created the
ticket they do not export with the tsv file.  It seems
that only the default fields actually export.  Is this
a bug resolved in a newer version?

RT 3.4.4

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Sort Order of Custom Fields in rt 3.6.1

2006-08-22 Thread Sebastian Schwerdhoefer
Hello,

we have used RT 3.6.0 so I upgraded to RT 3.6.1 today. I had to
install the CPAN Module UNIVERSAL::require to get RT 3.6.1 to run.

Since I installed 3.6.1 our custom order of our Custom Fields
(Configuration -> Queues ->  -> Ticket Custom Fields) is
simply ignored, when one views or edits a Ticket.

So i came back to 3.6.0 and paradoxically the problem still exists!

Any ideas how to get this problem fixed?

thanks in advance,
Sebastian Schwerdhöfer

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] CLI Question: Set dependson value via CLI?

2006-08-22 Thread Joshua Colson
On Tue, 2006-08-22 at 07:58 -0400, Jim Brandt wrote:
> I've searched and played around with the CLI interface but I can't find 
> a way to set or modify items in the 'Links' section, specifically 
> depends on or is depended on by.

This seems to be an undocumented feature:

rt link  DependsOn 

(or try 'rt help link')

HTH

-- 
Joshua Colson <[EMAIL PROTECTED]>

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] unable to add group members when using ldap overlay

2006-08-22 Thread Dario Luis Coneglian Oliveros
I just found out what was causing the problem. That was happening 
because I had a custom RT.pm (local/RT_Local.pm) where 'Nobody' was 
translated to Portuguese: 'Nenhum'. Even though I had changed that entry 
in the database to reflect this new value, that would cause other things 
to stop working such as member list in "Add group member" operation.
I would like to see 'Nobody' internacionalized in RT and it seems like 
the approach I took was not the right one.

Any suggestions ?
Thanks,
Dário

Dario Luis Coneglian Oliveros wrote:

I am using RT 3.6.1 with LDAP overlay (Jim Meyer's) and I just noticed 
a ldap user (recently created) could not be added to a group since it 
does not appear in the user list.

Any ideas ? How can I have ldap users shown in this list ?
Thanks,
Dário


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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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



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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Question about RT CLI custom field / web-interface

2006-08-22 Thread lists
Can you elaborate on this.  I can't seem to figure out how to display my
custom fields via the cli.  I am using rt 0.02 which came with rt-3.6.1

Carl

Jens,
RT-3.5.8 supports CF.

Jens Andersson wrote:
> We're planning to build our own webinterface to use when creating
> tickets. We need to use custom fields, what I can see RT CLI are not
> supporting CF, have I understand this correct?
>
> What's the best way to do this, create a perl script that make the job
> or send the data as mail and let the mail-gate do the job?
>
> // Jens
>
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
> Download a free sample chapter of RT Essentials from O'Reilly Media at
http://rtbook.bestpractical.com
>
> WE'RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
> San Francisco - Find out more at
http://bestpractical.com/services/training.html


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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] CLI Question: Set dependson value via CLI?

2006-08-22 Thread Jim Brandt


I've searched and played around with the CLI interface but I can't find 
a way to set or modify items in the 'Links' section, specifically 
depends on or is depended on by.


Am I just missing something?

I'm attempting to script some actions against RT and my next step to add 
the "depends on" part is to go through the interface with WWW::Mech. I 
was able to get the rest of my script working via the CLI and I really 
wanted to do all of the work there.


Thanks,
Jim


--
Jim Brandt
Administrative Computing Services
University at Buffalo


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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] how to display latest modified tickets

2006-08-22 Thread Roy El-Hames
In your MyTickets elements local/html/Elements/MyTickets add 2 columns, 
Last Updated => $Ticket->LastUpdated and Last Updated By => 
$Ticket->LastUpdatedByObj->Name

In the order close change:(bottom of the page)
$MyTickets->OrderBy(FIELD => 'Priority', ORDER => 'DESC'); to
$MyTickets->OrderBy(FIELD => 'LastUpdated', ORDER => 'DESC');

Roy


Prasad Deshpande wrote:

Hi ,

 


I am running RT 3.2.3 on Red Hat 9.  I am facing below mentioned
problem.

 


In my helpdesk environment, there are owners which are working on
multiple tickets. They communicate with the requestors through RT web
interface. So to check the requestor's feedback, owner has to glance
through all the tickets one by one allotted to him and see if somebody
has replied back. If the no. of tickets are more then it becomes task in
itself.  So is there any way out so that owner will be informed on the
last updated ticket from the main screen itself.

 


If anybody has any suggestion or solution for above mentioned problem,
please let me know the same.

 

 


Thanks,

Prasad Deshpande

 

 

 




DISCLAIMER:
This message,including any attachments contains confidential and privileged 
information for the sole use of the intended recipient(s), and is protected by 
law. If you are not the intended recipient, please destroy all copies of the 
original message. Any unauthorized review, use, disclosure, dissemination, 
forwarding, printing or copying of this email or any action taken in reliance 
on this e-mail is strictly prohibited and may be unlawful.
Bajaj Auto reserves the right to record, monitor, and inspect all email 
communications through its internal and external networks. Your messages shall 
be subject to such lawful supervision as Bajaj Auto deems necessary in order to 
protect its information, interests and reputation. Bajaj Auto prohibits and 
takes steps to prevent its information systems from being used to view, store 
or forward offensive or discriminatory material. If this message contains such 
material, please report it to [EMAIL PROTECTED]

  



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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] RT incoming mail gateway

2006-08-22 Thread Torsten Brumm
Hi Sudhir,you can simply use this way:1. Create a Cron Job for a user: */10 * * * * /usr/bin/fetchmail --silent 2. Create a Fetchmailrc for this user to use the pop3 mailboxespoll 
pop3.domain.com    auth password    proto POP3    user [EMAIL PROTECTED] is [EMAIL PROTECTED] here    pass yourpass    fetchall3. Do rest like normally in RT (Alias File)
2006/8/21, Sudhir Damle <[EMAIL PROTECTED]>:
Hi All,Question about incoming mail gateway.We do not have incoming mails coming directly to RT server also cannotconfigure rt-mailgate on our mail server.Has anybody configured it such a way that it will pop mails from another
mail server?Thanks for any suggestions, comments, and help.Sudhir DamleStratogent LLC.___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-usersCommunity help: http://wiki.bestpractical.comCommercial support: 
[EMAIL PROTECTED]Discover RT's hidden secrets with RT Essentials from O'Reilly Media.Buy a copy at http://rtbook.bestpractical.com
-- MFGTorsten Brummhttp://www.torsten-brumm.de
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

Re: [rt-users] CLI: manipulating "privileged" status

2006-08-22 Thread Torsten Brumm
and read with this sh scrip from csv file:#!/bin/bashP1=/opt/rt3/local/bin/U1=/opt/rt3/local/bin/userlistwhile read zeile; do    set -- $zeile    echo "Bearbeite User: "$1 $2    /usr/bin/perl ${P1}creatertuser.pl $1 $2
done<$U1 2006/8/22, Torsten Brumm <[EMAIL PROTECTED]>:
Try the following sniplet:#!/usr/bin/perluse strict;use warnings;BEGIN { die "You must define \$RT_HOME\n"      unless exists $ENV{RT_HOME} };use lib "$ENV{RT_HOME}/lib";
use RT;RT::LoadConfig();RT::Init();use RT::Interface::CLI qw(GetCurrentUser loc);use RT::Tickets;my $CurrentUser = GetCurrentUser();die loc("No RT user found.\n") unless ($CurrentUser->Id);
die "We need exactly 2 Arguments, Name & Email\n" unless ($#ARGV==1);my $UserName=shift @ARGV;my $Email=shift @ARGV;my $User = RT::User->new($CurrentUser);my ($id,$Message)=$User->Create(Name=>$UserName,EmailAddress=>$Email,Privileged=>1,Password=>'changeme');
if ($id){    print $Message."\n";    }    else{        print"This is a error!\n$Message\n";        }2006/8/21, Ole Craig <

[EMAIL PROTECTED]>:










Is the long-standing bug with the CLI and groups fixed in 3.6.1? I'm planning to upgrade from 3.6.0 anyhow; if this is fixed I'll reprioritize the upgrade.

If not, is there any way (from the command line) to manipulate a user's "privileged" status? I have a metric buttload of users to enable, and I have no wish to click through each one successively just to change one freakin' checkbox.


If I'm being stupid (certainly wouldn't be the first time) and there's an easy way to do this without using the bin/rt tool, please feel free to ridicule me while you point out the answer. I would've tried it directly in MySQL, but the Privileged pseudogroup is nameless. :-(


Thanks,
Ole

PS. I say "long-standing" because after extensive Googling and archive spelunking, I've found the same question popping up several times but it's never answered (at least, not on-list.) In 3.6.0 I get "# Unknown object type: group" from any attempt to show, list, edit, or create a group using the rt commandline tool, despite the verbiage in both the tool itself and in RT Essentials. This seems to have been a problem since at least 
3.4.4.








___http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.comCommercial support: 

[EMAIL PROTECTED]Discover RT's hidden secrets with RT Essentials from O'Reilly Media.Buy a copy at 

http://rtbook.bestpractical.com-- MFGTorsten Brumm
http://www.torsten-brumm.de

-- MFGTorsten Brummhttp://www.torsten-brumm.de
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

Re: [rt-users] CLI: manipulating "privileged" status

2006-08-22 Thread Torsten Brumm
Try the following sniplet:#!/usr/bin/perluse strict;use warnings;BEGIN { die "You must define \$RT_HOME\n"      unless exists $ENV{RT_HOME} };use lib "$ENV{RT_HOME}/lib";
use RT;RT::LoadConfig();RT::Init();use RT::Interface::CLI qw(GetCurrentUser loc);use RT::Tickets;my $CurrentUser = GetCurrentUser();die loc("No RT user found.\n") unless ($CurrentUser->Id);
die "We need exactly 2 Arguments, Name & Email\n" unless ($#ARGV==1);my $UserName=shift @ARGV;my $Email=shift @ARGV;my $User = RT::User->new($CurrentUser);my ($id,$Message)=$User->Create(Name=>$UserName,EmailAddress=>$Email,Privileged=>1,Password=>'changeme');
if ($id){    print $Message."\n";    }    else{        print"This is a error!\n$Message\n";        }2006/8/21, Ole Craig <
[EMAIL PROTECTED]>:










Is the long-standing bug with the CLI and groups fixed in 3.6.1? I'm planning to upgrade from 3.6.0 anyhow; if this is fixed I'll reprioritize the upgrade.

If not, is there any way (from the command line) to manipulate a user's "privileged" status? I have a metric buttload of users to enable, and I have no wish to click through each one successively just to change one freakin' checkbox.


If I'm being stupid (certainly wouldn't be the first time) and there's an easy way to do this without using the bin/rt tool, please feel free to ridicule me while you point out the answer. I would've tried it directly in MySQL, but the Privileged pseudogroup is nameless. :-(


Thanks,
Ole

PS. I say "long-standing" because after extensive Googling and archive spelunking, I've found the same question popping up several times but it's never answered (at least, not on-list.) In 3.6.0 I get "# Unknown object type: group" from any attempt to show, list, edit, or create a group using the rt commandline tool, despite the verbiage in both the tool itself and in RT Essentials. This seems to have been a problem since at least 
3.4.4.








___http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.comCommercial support: 
[EMAIL PROTECTED]Discover RT's hidden secrets with RT Essentials from O'Reilly Media.Buy a copy at 
http://rtbook.bestpractical.com-- MFGTorsten Brummhttp://www.torsten-brumm.de
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

[rt-users] how to display latest modified tickets

2006-08-22 Thread Prasad Deshpande








Hi ,

 

I am running RT 3.2.3 on Red Hat 9.  I am facing
below mentioned problem.

 

In my helpdesk environment, there are owners which are
working on multiple tickets. They communicate with the requestors through RT web
interface. So to check the requestor’s feedback, owner has to glance
through all the tickets one by one allotted to him and see if somebody has
replied back. If the no. of tickets are more then it becomes task in itself. 
So is there any way out so that owner will be informed on the last updated
ticket from the main screen itself.

 

If anybody has any suggestion or solution for above
mentioned problem, please let me know the same.

 

 

Thanks,

Prasad Deshpande

 

 

 



DISCLAIMER:This message,including any attachments contains confidential and privileged information for the sole use of the intended recipient(s), and is protected by law. If you are not the intended recipient, please destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Bajaj Auto reserves the right to record, monitor, and inspect all email communications through its internal and external networks. Your messages shall be subject to such lawful supervision as Bajaj Auto deems necessary in order to protect its information, interests and reputation. Bajaj Auto prohibits and takes steps to prevent its information systems from being used to view, store or forward offensive or discriminatory material. If this message contains such material, please report it to [EMAIL PROTECTED]


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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

RE: [rt-users] RT 3.6.1: Fix for "search by requestor" breaking

2006-08-22 Thread Torsten Brumm
Works perfectly.!!!

Mit freundlichen Gruessen / With kindest regards

Torsten Brumm

Kuehne + Nagel
Ferdinand Strasse 29-33
20095 Hamburg
Germany

Tel: +49 40 329 15 199
Fax: +49 40 329 15 500
Www: www.kuehne-nagel.com
  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Jesse Vincent
> Sent: Monday, August 21, 2006 7:16 PM
> To: RT Users
> Subject: [rt-users] RT 3.6.1: Fix for "search by requestor" breaking
> 
> Attached is a hotfix for "search by requestor" breaking on RT 
> 3.6.1.   
> If this works out for folks, I'll roll RT 3.6.2 with it included.  
> Feedback is much appreciated.
> 
> Jesse
> 
> 
> 

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] RTx-Shredder question

2006-08-22 Thread Marco Avvisano





On Wed, Aug 09, 2006 at 10:47:16AM +0200, Marco Avvisano wrote:


I'm trying to use RTx-Shredder on RT 3.6.0 from command line:

/opt/rt3/local/sbin/rtx-shredder --plugin 'Tickets=queue, queuename'

and return this error:

[crit]: Couldn't wipeout object: Can't call method "IsLocal" on an
undefined value at /opt/rt3/lib/RT/URI.pm line 247,  line 1.
(/opt/rt3/lib/RT.pm:317)





Do you have Asset Tracker installed?

no ... it's possible to download a free version?


Is this a ticket that might of had a link at some point?


may be ... if i try to view the ticket, return me this error

 error:  Can't call method "IsLocal" on an undefined value at 
/opt/rt3/lib/RT/URI.pm line 247.


 context:  ...
   243:  =cut
   244:
   245:  sub IsLocal {
   246:  my $self = shift;
   247:  return $self->Resolver->IsLocal;
   248:  }
   249:
   250:
   251:  # }}}
   ...

 code stack:  /opt/rt3/lib/RT/URI.pm:247
 /opt/rt3/lib/RT/Links_Overlay.pm:159
 /opt/rt3/share/html/Elements/ShowLinks:85
 /opt/rt3/share/html/Ticket/Elements/ShowSummary:90
 /opt/rt3/share/html/Widgets/TitleBox:49
 /opt/rt3/share/html/Ticket/Elements/ShowSummary:91
 /opt/rt3/share/html/Ticket/Display.html:56
 /opt/rt3/share/html/Widgets/TitleBox:49
 /opt/rt3/share/html/Ticket/Display.html:57
 /opt/rt3/share/html/autohandler:279

raw error































Can't call method "IsLocal" on an undefined value at /opt/rt3/lib/RT/URI.pm 
line 247.



Trace begun at 
/usr/local/perl-5.8.5/lib/site_perl/5.8.5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "IsLocal" on 
an undefined value at /opt/rt3/lib/RT/URI.pm line 247.^J') called at 
/opt/rt3/lib/RT/URI.pm line 247
RT::URI::IsLocal('RT::URI=HASH(0xa722694)') called at 
/opt/rt3/lib/RT/Links_Overlay.pm line 159
RT::Links::Next('RT::Links=HASH(0xa7212dc)') called at 
/opt/rt3/share/html/Elements/ShowLinks line 85
HTML::Mason::Commands::__ANON__('Ticket', 'RT::Ticket=HASH(0xa67c43c)') 
called at /usr/local/perl-5.8.5/lib/site_perl/5.8.5/HTML/Mason/Component.pm 
line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa71f75c)', 
'Ticket', 'RT::Ticket=HASH(0xa67c43c)') called at 
/usr/local/perl-5.8.5/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 1251
eval {...} at 
/usr/local/perl-5.8.5/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, 'Ticket', 
'RT::Ticket=HASH(0xa67c43c)') called at 
/opt/rt3/share/html/Ticket/Elements/ShowSummary line 90
HTML::Mason::Commands::__ANON__ at 
/usr/local/perl-5.8.5/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 1315
HTML::Mason::Request::content('HTML::Mason::Request::CGI=HASH(0xa50ded4)') 
called at /opt/rt3/share/html/Widgets/TitleBox line 49
HTML::Mason::Commands::__ANON__('title', 'Collegamenti', 'title_href', 
'/Ticket/ModifyLinks.html?id=2', 'class', 'ticket-info-links') called at 
/usr/local/perl-5.8.5/lib/site_perl/5.8.5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa0b45d4)', 
'title', 'Collegamenti', 'title_href', '/Ticket/ModifyLinks.html?id=2', 
'class', 'ticket-info-links') called at 
/usr/local/perl-5.8.5/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 1251
eval {...} at 
/usr/local/perl-5.8.5/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, undef, 'title', 'Collegamenti', 
'title_href', '/Ticket/ModifyLinks.html?id=2', 'class', 'ticket-info-links') 
called at /opt/rt3/share/html/Ticket/Elements/ShowSummary line 91
HTML::Mason::Commands::__ANON__('Ticket', 'RT::Ticket=HASH(0xa67c43c)', 
'Attachments', 'RT::Attachments=HASH(0xa5bc2c0)') called at 
/usr/local/perl-5.8.5/lib/site_perl/5.8.5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa6ba4fc)', 
'Ticket', 'RT::Ticket=HASH(0xa67c43c)', 'Attachments', 
'RT::Attachments=HASH(0xa5bc2c0)') called at 
/usr/local/perl-5.8.5/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 1251
eval {...} at 
/usr/local/perl-5.8.5/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, 'Ticket', 
'RT::Ticket=HASH(0xa67c43c)', 'Attachments', 
'RT::Attachments=HASH(0xa5bc2c0)') called at 
/opt/rt3/share/html/Ticket/Display.html line 56
HTML::Mason::Commands::__ANON__ at 
/usr/local/perl-5.8.5/lib/site_perl/5.8.5/HTML/Mason/Request.pm line 1315
HTML::Mason::Request::content('HTML::Mason::Request::CGI=HASH(0xa50ded4)') 
called at /opt/rt3/share/html/Widgets/TitleBox line 49
HTML::Mason::Commands::__ANON__('title', 'Metadati del ticket') called at 
/usr/local/perl-5.8.5/lib/site_perl/5.8.5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa0b45d4)', 
'title', 'Metadati del ticket') called at 
/usr/local/perl-5.8.5/lib/site_perl/5.8.5/HTML/Mason/Re