[rt-users] Incorrect version when building from git repository

2012-10-05 Thread John Kelsh
Hi All,

I thought that it would be best to build RT from the git repository for 
convenience and the ability to rebase our customisations onto new versions when 
they are released.

However when I clone the Github repository, checkout the rt-4.0.7 tag, and 
build from there I end up with RT "3.9-EXPORTED" instead of "4.0.7".

Can anyone explain why this is the case?

It also appears that the tar files available from downloads.bestpratical.com 
differ significantly than those generated directly through Github, the Github 
file shares the same "3.9-EXPORTED" version while the best practical file is 
4.0.7.

Thanks,

--
John Kelsh
Applications & Systems Administrator
NetSpot Pty. Ltd. ~ 183 Melbourne St. North Adelaide SA 5006
Ph: 08 8361 6800 | Fax: 08 8361 6811
Email: john.ke...@netspot.com.au | Web: http://www.netspot.com.au


Final RT training for 2012 in Atlanta, GA - October 23 & 24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


[rt-users] SeeQueue based on role requestor

2012-10-05 Thread Csongrádi Eszter
Hi All,

I'm using RT 4.0.6 on CentOS 6.3 x64 configured a couple of queue.
I would like set the following permission:
- Unprivileged users see a queue and start a ticket in it if the user
already has a ticket in it (eg requestor)
- and this permission can be set per queue basis.

The situation is we'll using another system wich manipulate the ticket
through REST in an exact queue( eg. QA) and the users, who are in this new
system and in the RT too has to see this QA queue.
The users who are not in this new system can't see the QA queue.

I tried to set up the requestor role rights on the QA queue (ShowTicket,
CreateTicket, ReplyToTicket, SeeQueue), but it doesn't help.

Thanks in advance,

Eszter




Final RT training for 2012 in Atlanta, GA - October 23 & 24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


[rt-users] Can't fork at Mailer.pm

2012-10-05 Thread Martin Drasar
Hi,

after upgrading to RT 4.0.6 I am having problems with mail sending. This
line starts to appear in log:

Scrip Commit 6 died. - Can't fork at /usr/share/perl5/Mail/Mailer.pm
line 145

and no mail can be sent until I restart the Apache.

Scrip 6 is "On Correspond Notify Requestors and Ccs"

Do you have any idea why it is happening? And more importantly - how can
I solve this so it does not happen again?

Thank you for your insights.

Martin


Final RT training for 2012 in Atlanta, GA - October 23 & 24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Setting owner with _Set breaks queries (may be a bug)

2012-10-05 Thread Scotto Alberto
Very interesting, thank you!
Now I understand the relationships.
So I think I should correct all the _Set I've used all around in my custom 
scrips :(

Talking about correcting the old tickets processed with _Set, I think 
rt-validator doesn't help, can you please confirm?
Here is the output of rt-validator --check: http://pastebin.com/1PTL8mY8
To verify if it finds the errors caused by _Set I searched in the ouput for 
"2985", which is the number of a ticket affected by the issue. I also searched 
for "12626", the ID of the owner group associated with that ticket. But none of 
them are there.

Thanks


PS: (OT) if at every moment the Owner is one and only one, I wonder why you 
defined a group for role Owner. Maybe in order to have a history of past 
owners? Or for some code consistency?




Alberto Scotto

Blue Reply
Via Cardinal Massaia, 83
10147 - Torino - ITALY
phone: +39 011 29100
al.sco...@reply.it
www.reply.it

-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Thomas Sibley
Sent: giovedì 4 ottobre 2012 18:50
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Setting owner with _Set breaks queries (may be a bug)

On 10/04/2012 04:05 AM, Scotto Alberto wrote:
> I think I found a bug.

Not a bug in RT, only your scrip. :)

> Looks like _Set doesn’t update correctly some field in some table in
> the DB. But I have no idea of what field and what table! I had a quick
> look at the DB, and it seems that the relation ticket-owner is based
> on an user ID, not a string (the real name).

Using _Set to change the Owner is incorrect as it only updates the Owner column 
in the Tickets table.  It doesn't also update the Owner role group for the 
ticket.  SetOwner does both.

In general you shouldn't be calling private methods (starting with an
underscore) from code you write, for reasons just like this.

rt-validator may be able to fix your existing tickets, but I haven't checked so 
I'm not certain.

http://bestpractical.com/rt/docs/latest/rt-validator.html


Final RT training for 2012 in Atlanta, GA - October 23 & 24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs





--
The information transmitted is intended for the person or entity to which it is 
addressed and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance upon, this information by persons or entities other than the intended 
recipient is prohibited. If you received this in error, please contact the 
sender and delete the material from any computer.


Final RT training for 2012 in Atlanta, GA - October 23 & 24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] share dashboard with a group

2012-10-05 Thread Asanka Gunasekera
Hi Glenn I am using RT 4 and I am trying to create group dash boards using root 
account and I am unable to see any option as you mentioned attached is an 
screen print


Thanks and Best Regards





 From: Glenn E. Sieb 
To: "rt-users@lists.bestpractical.com"  
Sent: Thursday, 4 October 2012, 0:26
Subject: Re: [rt-users] share dashboard with a group
 
On 10/03/2012 02:07 PM, Asanka Gunasekera wrote:
> Hi Albert, this document does not tell you how to create the shared dashboard 
> :(
> 
Save it as a dashboard for that group.

When you click "Home/New Dashboard" see "Privacy"? That's the important bit. If 
you have rights to create dashboards for that group, you should see it in the 
dropdown list.

--Glenn

-- Glenn E. Sieb
System Administrator
+1 201 809-4958

eFashionSolutions
80 Enterprise Avenue South
Secaucus, NJ 07094



Final RT training for 2012 in Atlanta, GA - October 23 & 24
http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs<>

Final RT training for 2012 in Atlanta, GA - October 23 & 24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Can't fork at Mailer.pm

2012-10-05 Thread Thomas Sibley
On 10/05/2012 02:31 AM, Martin Drasar wrote:
> after upgrading to RT 4.0.6 I am having problems with mail sending. This
> line starts to appear in log:
> 
> Scrip Commit 6 died. - Can't fork at /usr/share/perl5/Mail/Mailer.pm
> line 145
> 
> and no mail can be sent until I restart the Apache.
> 
> Do you have any idea why it is happening? And more importantly - how can
> I solve this so it does not happen again?

Can't fork means your operating system is dangerously out of memory.
You should tune Apache and anything else on the box (your database
server?) to coexist peacefully.

What MailCommand are you using in RT?



Final RT training for 2012 in Atlanta, GA - October 23 & 24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] share dashboard with a group

2012-10-05 Thread Asanka Gunasekera
hi Glenn, is seem when the person who trying to create the dash for the group 
needs to be in that group for it to appear under "Privacy"

Thanks and Best Regards





 From: Asanka Gunasekera 
To: Glenn E. Sieb ; 
"rt-users@lists.bestpractical.com"  
Sent: Friday, 5 October 2012, 22:14
Subject: Re: [rt-users] share dashboard with a group
 

Hi Glenn I am using RT 4 and I am trying to create group dash boards using root 
account and I am unable to see any option as you mentioned attached is an 
screen print


Thanks and Best Regards





 From: Glenn E. Sieb 
To: "rt-users@lists.bestpractical.com"  
Sent: Thursday, 4 October 2012, 0:26
Subject: Re: [rt-users] share dashboard with a group
 
On 10/03/2012 02:07 PM, Asanka Gunasekera wrote:
> Hi Albert, this document does not tell you how to create the shared dashboard 
> :(
> 
Save it as a dashboard for that group.

When you click "Home/New Dashboard" see "Privacy"? That's the important bit. If 
you have rights to create dashboards for that group, you should see it in the 
dropdown list.

--Glenn

-- Glenn E. Sieb
System Administrator
+1 201 809-4958

eFashionSolutions
80 Enterprise Avenue South
Secaucus, NJ 07094



Final RT training for 2012 in Atlanta, GA - October 23 & 24
http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs

Final RT training for 2012 in Atlanta, GA - October 23 & 24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Incorrect version when building from git repository

2012-10-05 Thread Thomas Sibley
On 10/05/2012 12:16 AM, John Kelsh wrote:
> I thought that it would be best to build RT from the git repository
> for convenience and the ability to rebase our customisations onto new
> versions when they are released.
> 
> However when I clone the Github repository, checkout the rt-4.0.7
> tag, and build from there I end up with RT "3.9-EXPORTED" instead of
> "4.0.7".
> 
> Can anyone explain why this is the case?

`rm -rf autom4te.cache/` should help.

> It also appears that the tar files available from
> downloads.bestpratical.com differ significantly than those generated
> directly through Github, the Github file shares the same
> "3.9-EXPORTED" version while the best practical file is 4.0.7.

Github's tarballs are exports of git tags, no more, but that's not our
release process and they aren't actual releases.  Unfortunately Github
doesn't let you disable the Download section, which is terribly
frustrating.  Don't use the Github tarballs.


Final RT training for 2012 in Atlanta, GA - October 23 & 24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs