[rt-users] email dashboard with grid

2012-11-28 Thread Thomas Lau
Dear All,

Does anyone know if dashboard which scheduled to send out could include grid on 
table?

Thomas Lau
Senior Technology Analyst
Principle One Limited
27/F Kinwick Centre, 32 Hollywood Road, Central, Hong Kong
T  +852 3555 2217 F  +852 3555   M  +852 9880 1217
Hong Kong   .   Singapore   .   Tokyo


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


Re: [rt-users] ExternalAuth isn't updating EmailAddress

2012-11-28 Thread Karmi Simonov
RT::Authen::ExternalAuth is at 0.08.

Karmi.


-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: 28 November 2012 05:04
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] ExternalAuth isn't updating EmailAddress

On Tue, Nov 27, 2012 at 05:54:51PM +, Karmi Simonov wrote:
I'm running RT4.0.6 with the last ExternalAuth plugin.

Please check your ExternalAuth version in Tools - Configuration - Tools - 
System Configuration, your debug lines don't line up with the latest version.

-kevin

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


[rt-users] RT_SiteConfig.pm

2012-11-28 Thread Telmo Cardoso
Hi,

first of all, I'm sorry for my last email that was sent twice. I receive an
error on first email, so I though it was a problem with attach and remade
it without attach.

About my current problem, I create the file RT_SiteConfig.pm under
{RT_PATH}/etc with only this content in order to test it:
Set($LogoLinkURL,http://www.companySite.com;);

And it seems RT installation is ignoring this, so logo is still linking at
http://bestpractical.com/

Its necessary to restart any service?

Thanks,
   Telmo Cardoso

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


[rt-users] How to name a custom field?

2012-11-28 Thread tkdchen
Hi,


I'm using REST API to create a ticket. And see that I can pass
CF_CustomFieldField: FieldValue to create custom field for that new
ticket. However, when I pass CF_EmailAddress: tes...@company.com as the
part of post data, my company's RT tell me EmailAddress is not valid. I
searched from Internet and no document has more detail about this. Please
give me guide. Thanks!


-- 

Chenxiong Qi

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


[rt-users] FW: RT 4.0.8 + Fedora 16 - Almost There

2012-11-28 Thread Walid Haider
Hi All,

I have managed to install RT4.0.8 on Fedora 16, but when I launch RT from a 
browser, I am getting:

You're almost there!

You appear to have installed RT's web interface correctly but not yet 
configured your web server to run the RT server which powers the web 
interface. The next step is to edit your web server's configuration file to 
instruct it to use RT's fastcgi or mod_perl handler.

I have tried to follow the instructions in order to configure RT to work with 
Apache 2 + mod_perl  but surely, I am missing some configuration and cannot 
figure out what it is.

Any help would be much appreciated.

Attached is the http.conf file.

NB: I have also added LoadModule perl_module modules/mod_perl.so to 
http.conf. Is that necessary?


Thanks in anticipation,

Regards,
Walid


#
# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See URL:http://httpd.apache.org/docs/2.2 for detailed information.
# In particular, see 
# URL:http://httpd.apache.org/docs/2.2/mod/directives.html
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.  
#
# The configuration directives are grouped into three basic sections:
#  1. Directives that control the operation of the Apache server process as a
# whole (the 'global environment').
#  2. Directives that define the parameters of the 'main' or 'default' server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
#  3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with / (or drive:/ for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with /, the value of ServerRoot is prepended -- so logs/foo.log
# with ServerRoot set to /etc/httpd will be interpreted by the
# server as /etc/httpd/logs/foo.log.
#

### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#

#
# Don't give away too much information about all the subcomponents
# we are running.  Comment out this line if you don't mind remote sites
# finding out what major optional modules you are running
ServerTokens OS

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation
# (available at 
URL:http://httpd.apache.org/docs/2.2/mod/mpm_common.html#lockfile);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
ServerRoot /etc/httpd

#
# PidFile: The file in which the server should record its process
# identification number when it starts.  Note the PIDFILE variable in
# /etc/sysconfig/httpd must be set appropriately if this location is
# changed.
#
PidFile run/httpd.pid

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 60

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to Off to deactivate.
#
KeepAlive Off

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 5

##
## Server-Pool Size Regulation (MPM specific)
## 

# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# ServerLimit: maximum value for MaxClients for the lifetime of the server
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
IfModule prefork.c
StartServers   8
MinSpareServers5
MaxSpareServers   20
ServerLimit  256
MaxClients   256
MaxRequestsPerChild  4000
/IfModule

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads 

Re: [rt-users] How to set a specific 'Depended on' by from scrip

2012-11-28 Thread Xavier Reigner
Excellent, I finally got what I want doing like this :

my $newdependedonby = 1234;
my ($status, $msg) =
$self-TicketObj-AddLink(Type='DependsOn',Base=$newdependedonby );

Thanks Kevin,
X


On 27 November 2012 18:16, Kevin Falcone wrote:

 On Tue, Nov 27, 2012 at 02:39:40PM +0100, Xavier Reigner wrote:
 In addition, I'd like to specify a link Depended on by to the
 tickets according to the
 previous test. I'm still confusing how I should update this field.
 $RT::Logger-info(Auto reference ticket #. $T_Obj-id . to ticket
 #1234 );
 my ($status, $msg) = $self-TicketObj-_Set( 'DependedOnBy', '1234');

 _Set is really dangerous.  In general, you should never use it.

 You want to call AddLink on your ticket.
 http://bestpractical.com/rt/docs/latest/RT/Ticket.html#AddLink

 -kevin

 unless( $status ) {
 $RT::Logger-error( Unable to assign the ticket DependedOnBy );
 return undef;
 }
 return 1;




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


Re: [rt-users] RT_SiteConfig.pm

2012-11-28 Thread Telmo Cardoso
Hi again,

Ok, I edited /etc/request-tracker4/RT_SiteConfig.d/99-localconfig,
restarted apache2 and it worked.

Can anyone answer my other questions? Like where can I edit the RT for
company name that appears on top of page?

Thanks a lot,
   Telmo Cardoso


On Wed, Nov 28, 2012 at 12:47 PM, Telmo Cardoso telmo.card...@gmail.comwrote:

 Hi,

 first of all, I'm sorry for my last email that was sent twice. I receive
 an error on first email, so I though it was a problem with attach and
 remade it without attach.

  About my current problem, I create the file RT_SiteConfig.pm under
 {RT_PATH}/etc with only this content in order to test it:
 Set($LogoLinkURL,http://www.companySite.com;);

 And it seems RT installation is ignoring this, so logo is still linking at
 http://bestpractical.com/

 Its necessary to restart any service?

 Thanks,
Telmo Cardoso


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


Re: [rt-users] ExternalAuth isn't updating EmailAddress

2012-11-28 Thread Kevin Falcone
On Wed, Nov 28, 2012 at 11:29:37AM +, Karmi Simonov wrote:
 RT::Authen::ExternalAuth is at 0.08.

The current release of RT-Authen-ExternalAuth is 0.12
Try that version.

-kevin

 -Original Message-
 From: rt-users-boun...@lists.bestpractical.com 
 [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin Falcone
 Sent: 28 November 2012 05:04
 To: rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] ExternalAuth isn't updating EmailAddress
 
 On Tue, Nov 27, 2012 at 05:54:51PM +, Karmi Simonov wrote:
 I'm running RT4.0.6 with the last ExternalAuth plugin.
 
 Please check your ExternalAuth version in Tools - Configuration - Tools - 
 System Configuration, your debug lines don't line up with the latest version.


pgpB3rHRNx7BN.pgp
Description: PGP signature

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


Re: [rt-users] Merging RT Installations

2012-11-28 Thread Kevin Falcone
On Wed, Nov 28, 2012 at 08:48:02AM -0500, testwreq wreq wrote:
Actually, there are 2 seperate installations of RT 3.8.2 and 4.0.8 on 
 centosos and ubuntu
respectively. We need to import open tickets from 3.8.2 and export them 
 into 4.0.8. Are there
any scripts in the upgrade that can be pulled to do this?

Nope.  Please see my earlier reply to Tim Gustafson.

-kevin

On Tue, Nov 27, 2012 at 9:40 PM, Kevin Falcone 
 [1]falc...@bestpractical.com wrote:
 
  On Tue, Nov 27, 2012 at 03:25:05PM -0500, testwreq wreq wrote:
   We have a similar situation where we want to import our open tickets 
 from the current
  3.8.2
   sytem to the new 4.0.8 installation. Is there a script that can help 
 do that?
 
  That sounds like you want a simple upgrade.
  Have you reviewed the upgrading process documentation?
  It's covered in the README and UPGRADING-4.0 available from here
  [2]http://bestpractical.com/rt/docs/latest/
 
  and written about here
 
  [3]http://blog.bestpractical.com/2011/07/upgrading-to-rt-4.html


pgp7iGj5gjmMY.pgp
Description: PGP signature

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


Re: [rt-users] How to name a custom field?

2012-11-28 Thread Kevin Falcone
On Wed, Nov 28, 2012 at 09:49:54PM +0800, tkdchen wrote:
I'm using REST API to create a ticket. And see that I can pass 
 CF_CustomFieldField:
FieldValue to create custom field for that new ticket. However, when I 
 pass

Actually, you want CF.{EmailAddress} or the old old style of
CF-EmailAddress.  I'm not aware of CF_EmailAddress being valid in any
part of RT.  If you found this documented on the wiki, I'd appreciate
it if you fixed the documentation there.

-kevin

CF_EmailAddress: [1]tes...@company.com as the part of post data, my 
 company's RT tell me
EmailAddress is not valid. I searched from Internet and no document has 
 more detail about
this. Please give me guide. Thanks!


pgpe2C7M1dKXs.pgp
Description: PGP signature

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


[rt-users] Request Tracker 4.0.4 via Apt-get on Ubuntu 12.04 - Apache Errors

2012-11-28 Thread mutaahir
Hi All,

I am still having problems in trying to run request tracker on my linode
vps with ubuntu 12.04. I have other php scripts installed in /var/www

RT is installed in : /etc/request-tracker4/
 /usr/share/request-tracker4/

following are the errors when I try to browse to http://mydomain.com/rt;

-
[Wed Nov 28 18:42:52 2012] [warn] FastCGI: server
/usr/share/request-tracker4/libexec/rt-server.fcgi has failed to remain
running for 30 seconds given 3 attempts, its restart interval has been
backed off to 600 seconds
[Wed Nov 28 18:47:52 2012] [warn] FastCGI: server
/usr/share/request-tracker4/libexec/rt-server.fcgi has failed to remain
running for 30 seconds given 3 attempts, its restart interval has been
backed off to 600 seconds
[Wed Nov 28 18:47:52 2012] [warn] FastCGI: server
/usr/share/request-tracker4/libexec/rt-server.fcgi restarted (pid 4894)
[Wed Nov 28 18:47:53 2012] [warning]: Constant subroutine
Plack::Handler::FCGI::RUNNING_IN_HELL redefined at /usr/share/perl/5.14/
constant.pm line 136. (/usr/share/perl/5.14/constant.pm:136)
[Wed Nov 28 18:47:53 2012] [warning]: Subroutine new redefined at
/usr/share/perl5/Plack/Handler/FCGI.pm line 13.
(/usr/share/perl5/Plack/Handler/FCGI.pm:13)
[Wed Nov 28 18:47:53 2012] [warning]: Subroutine run redefined at
/usr/share/perl5/Plack/Handler/FCGI.pm line 29.
(/usr/share/perl5/Plack/Handler/FCGI.pm:29)
[Wed Nov 28 18:47:53 2012] [warning]: Subroutine _handle_response redefined
at /usr/share/perl5/Plack/Handler/FCGI.pm line 158.
(/usr/share/perl5/Plack/Handler/FCGI.pm:158)
[Wed Nov 28 18:47:53 2012] [warning]: Subroutine daemon_fork redefined at
/usr/share/perl5/Plack/Handler/FCGI.pm line 188.
(/usr/share/perl5/Plack/Handler/FCGI.pm:188)
[Wed Nov 28 18:47:53 2012] [warning]: Subroutine daemon_detach redefined at
/usr/share/perl5/Plack/Handler/FCGI.pm line 193.
(/usr/share/perl5/Plack/Handler/FCGI.pm:193)
[Wed Nov 28 18:47:53 2012] [crit]: Something went wrong while trying to run
RT's standalone web server:
Undefined subroutine FCGI::FAIL_ACCEPT_ON_INTR called at
/usr/share/perl5/Plack/Handler/FCGI.pm line 51.
(/usr/share/request-tracker4/lib/RT.pm:351)
Something went wrong while trying to run RT's standalone web server:
Undefined subroutine FCGI::FAIL_ACCEPT_ON_INTR called at
/usr/share/perl5/Plack/Handler/FCGI.pm line 51.
[Wed Nov 28 18:47:53 2012] [warn] FastCGI: server
/usr/share/request-tracker4/libexec/rt-server.fcgi (pid 4894) terminated
by calling exit with status '255'
[Wed Nov 28 18:47:53 2012] [warn] FastCGI: server
/usr/share/request-tracker4/libexec/rt-server.fcgi has failed to remain
running for 30 seconds given 3 attempts, its restart interval has been
backed off to 600 seconds

[Wed Nov 28 18:54:02 2012] [crit]: Something went wrong while trying to run
RT's standalone web server:
Undefined subroutine FCGI::FAIL_ACCEPT_ON_INTR called at
/usr/share/perl5/Plack/Handler/FCGI.pm line 51.
(/usr/share/request-tracker4/lib/RT.pm:351)
Something went wrong while trying to run RT's standalone web server:
Undefined subroutine FCGI::FAIL_ACCEPT_ON_INTR called at
/usr/share/perl5/Plack/Handler/FCGI.pm line 51.
[Wed Nov 28 18:54:02 2012] [warn] FastCGI: server
/usr/share/request-tracker4/libexec/rt-server.fcgi (pid 5104) terminated
by calling exit with status '255'
[Wed Nov 28 18:54:02 2012] [warn] FastCGI: server
/usr/share/request-tracker4/libexec/rt-server.fcgi has failed to remain
running for 30 seconds given 3 attempts, its restart interval has been
backed off to 600 seconds

-

I am not able to resolve these, I have checked all perl dependencies are
installed. I disabled the GnuGPG in a config file and it removed some
errors from apache error log.

Following is the entry I have in my /etc/apache2/sites-available/default
file :

AddDefaultCharset UTF-8
FastCgiServer /usr/share/request-tracker4/libexec/rt-server.fcgi -processes
5 -idle-timeout 300
#FastCgiServer /usr/share/request-tracker4/libexec/rt-server.fcgi
-initial-env RT_SITE_CONFIG=/etc/request-tracker4/RT_SiteConfig.pm
Alias /rt/NoAuth/images/ /usr/share/request-tracker4/html/NoAuth/images/
ScriptAlias /rt /usr/share/request-tracker4/libexec/rt-server.fcgi

Location /rt
Order allow,deny
Allow from all

Options +ExecCGI
AddHandler fastcgi-script fcgi
/Location

Will be grateful if someone could assist in getting this up and running. I
have followed / read various how-tos etc but I am not much knowledgeable
about perl.

Kind regards

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


[rt-users] strange issue with deny.hosts and request tracker sorting

2012-11-28 Thread S P

Hi all,
We have a really weird issue, currently running RT4.0.8 but it was also 
present before we upgraded from 3.8.4 to 4.0.8 on CentOS 6.3 w/ 
2.6.32-279.14.1.el6.x86_64 on x86_64, Apache/2.2.15 on Xeon CPU E5607 @ 
2.27GHz, 4 core.


When performing certain functions in the web interface, such as sorting 
a list of tickets by number or priority, a mystery process writes the IP 
address of the user to hosts.deny (blocking access to all services on 
the server) and after a short period of time, the address is purged from 
hosts.deny and the user doing the sorting can once again access RT.


The IPs for these users are already present in hosts.allow (and are 
obviously being ignored). Fail2ban is not installed. Denyhosts is not 
installed. SELinux is disabled. We only have about 3000 tickets in RT, 
and performance is great. Except when you go to sort a list (could be 
10, or 200 tickets) and you're locked out momentarily. Additionally, 
OSSEC reports A web attack returned code 200 (success) at the moment 
the IP is written to hosts.deny and apache access log reads:


GET 
/Search/Results.html?Format=%27%20%20%20%3Cb%3E%3Ca%20href%3D%22%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__id__%3C%2Fa%3E%3C%2Fb%3E%2FTITLE%3A%23%27%2C%0A%27%3Cb%3E%3Ca%20href%3D%22%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__Subject__%3C%2Fa%3E%3C%2Fb%3E%2FTITLE%3ASubject%27%2C%0A%27__QueueName__%27%2C%0A%27__Priority__%27%2C%0A%27__CreatedRelative__%27%2C%0A%27__LastUpdatedRelative__%27Order=DESCOrderBy=idPage=1Query=Owner%20%3D%20%27assistant%27%20AND%20Status%20%3D%20%27open%27Rows=100 
HTTP/1.1 200 32147 
https://rt.mydomain.org/Search/Results.html?Format=%27%20%20%20%3Cb%3E%3Ca%20href%3D%22%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__id__%3C%2Fa%3E%3C%2Fb%3E%2FTITLE%3A%23%27%2C%0A%27%3Cb%3E%3Ca%20href%3D%22%2FTicket%2FDisplay.html%3Fid%3D__id__%22%3E__Subject__%3C%2Fa%3E%3C%2Fb%3E%2FTITLE%3ASubject%27%2C%0A%27__QueueName__%27%2C%0A%27__Priority__%27%2C%0A%27__CreatedRelative__%27%2C%0A%27__LastUpdatedRelative__%27Order=ASCOrderBy=idPage=1Query=Owner%20%3D%20%27assistant%27%20AND%20Status%20%3D%20%27open%27Rows=100; 
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:16.0) Gecko/20100101 Firefox/16.0


Other logs are of little help. Here's the relevant portion of httpd conf:
AddDefaultCharset UTF-8
DocumentRoot /opt/rt4/share/html
Location /
Order allow,deny
Allow from all
SetHandler modperl
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server
/Location
Perl
use Plack::Handler::Apache2;
Plack::Handler::Apache2-preload(/opt/rt4/sbin/rt-server);
/Perl

Thank you in advance for any help you might be able to offer. I'd love 
to know what is writing to deny.hosts.


- Sean


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


Re: [rt-users] Problem with CPAN and prerequisites for RT 4.0.5

2012-11-28 Thread Juanjo
IF i make the make test:

t/02graceful.t ... 1/? [Test::TCP] Child process does not block(PID:
32413, PPID: 32412) at /usr/local/share/perl5/Test/TCP.pm line 121.
t/02graceful.t ... ok
t/03post.t ... 32426 at t/03post.t line 9.
Plack::Handler::Starlet: Accepting connections at http://0:50602/
127.0.0.1 - - [28/Nov/2012:23:50:18 +0100] POST / HTTP/1.1 200 3 -
libwww-perl/6.04
t/03post.t ... ok
t/04-bumpy-life.t  ok
t/05server-header.t .. 1/?
#   Failed test at t/05server-header.t line 14.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 15.

#   Failed test at t/05server-header.t line 15.
#   undef
# doesn't match '(?-xism:Starlet)'
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 16.

#   Failed test at t/05server-header.t line 19.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 20.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 21.

#   Failed test at t/05server-header.t line 21.
#   undef
# doesn't match '(?-xism:Hello)'
[Test::TCP] Child process does not block(PID: 32430, PPID: 32429) at
/usr/local/share/perl5/Test/TCP.pm line 121.
# Looks like you failed 4 tests of 6.
t/05server-header.t .. Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/6 subtests
t/06remote_port.t  1/?
#   Failed test at t/06remote_port.t line 17.
Can't call method sockport on an undefined value at t/06remote_port.t
line 18.
[Test::TCP] Child process does not block(PID: 32437, PPID: 32436) at
/usr/local/share/perl5/Test/TCP.pm line 121.
# Tests were run but no plan was declared and done_testing() was not seen.
t/06remote_port.t  Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests

Test Summary Report
---
t/05server-header.t (Wstat: 1024 Tests: 6 Failed: 4)
  Failed tests:  1-2, 4, 6
  Non-zero exit status: 4
t/06remote_port.t  (Wstat: 65280 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=7, Tests=118,  7 wallclock secs ( 0.16 usr  0.12 sys +  2.65 cusr
1.52 csys =  4.45 CPU)
Result: FAIL
Failed 2/7 test programs. 5/118 subtests failed.
make: *** [test_dynamic] Error 255




If i make


t/04-bumpy-life.t 
ok 1 - min
ok 2 - max
1..2
ok
t/05server-header.t ..
not ok 1
not ok 2
ok 3

#   Failed test at t/05server-header.t line 14.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 15.

#   Failed test at t/05server-header.t line 15.
#   undef
# doesn't match '(?-xism:Starlet)'
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 16.
not ok 4

#   Failed test at t/05server-header.t line 19.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 20.
ok 5
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 21.
not ok 6

#   Failed test at t/05server-header.t line 21.
#   undef
# doesn't match '(?-xism:Hello)'
[Test::TCP] Child process does not block(PID: 32489, PPID: 32488) at
/usr/local/share/perl5/Test/TCP.pm line 121.
1..6
# Looks like you failed 4 tests of 6.
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/6 subtests
t/06remote_port.t 
not ok 1

#   Failed test at t/06remote_port.t line 17.
Can't call method sockport on an undefined value at t/06remote_port.t
line 18.
[Test::TCP] Child process does not block(PID: 32496, PPID: 32495) at
/usr/local/share/perl5/Test/TCP.pm line 121.
# Tests were run but no plan was declared and done_testing() was not seen.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests

Test Summary Report
---
t/05server-header.t (Wstat: 1024 Tests: 6 Failed: 4)
  Failed tests:  1-2, 4, 6
  Non-zero exit status: 4
t/06remote_port.t  (Wstat: 65280 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=7, Tests=118,  7 wallclock secs ( 0.17 usr  0.13 sys +  2.61 cusr
1.55 csys =  4.46 CPU)
Result: FAIL



2012/11/27 Kevin Falcone falc...@bestpractical.com

 On Tue, Nov 27, 2012 at 11:47:44AM +0100, Juanjo wrote:
 I have some troubles with Plack::Handler::Starlet, in a frest install
 of Centos 6.3 X64 on a
 esx5.1 host
 
 Update system and installed prerequisites (gcc, make, CPAM, YAML...)

 You probably want to grab the Starlet-0.16.tar.gz tarball off of CPAN
 manually (using metacpan.org or something) and then tar zxvf
 Starlet-0.16.tar.gz; perl Makefile.PL; make test; prove -lv
 t/05server-header.t and see if it gives you more information about
 what's happening.

 If there's nothing useful, you may want to diag() out the $port in
 that test and pause the test and make sure the test server is actually
 starting.

 -kevin

 Update to CPAN v19800
 # cpan
 cpan install CPAN
 cpan reload CPAN
 cpan 

Re: [rt-users] How to name a custom field?

2012-11-28 Thread tkdchen
On Thu, Nov 29, 2012 at 1:18 AM, Kevin Falcone falc...@bestpractical.comwrote:

 On Wed, Nov 28, 2012 at 09:49:54PM +0800, tkdchen wrote:
 I'm using REST API to create a ticket. And see that I can pass
 CF_CustomFieldField:
 FieldValue to create custom field for that new ticket. However,
 when I pass

 Actually, you want CF.{EmailAddress} or the old old style of
 CF-EmailAddress.  I'm not aware of CF_EmailAddress being valid in any
 part of RT.  If you found this documented on the wiki, I'd appreciate
 it if you fixed the documentation there.


CF.{EmailAddress}: qcxh...@gmail.com
Above line is included in the post data, and RT still tells me EmailAddress
is an invalid custom field name.


 -kevin

 CF_EmailAddress: [1]tes...@company.com as the part of post data,
 my company's RT tell me
 EmailAddress is not valid. I searched from Internet and no document
 has more detail about
 this. Please give me guide. Thanks!

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




-- 
A Python developer living in Beijing
http://about.me

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