[rt-users] REST request problem
Hugo Escobar
hescobar at afslc.com
Tue Nov 22 17:17:51 EST 2011
We've been successfull integrating a web application (based on cakephp) to
RT via REST.
Here is a list of what we have accomplished with our integration:
-. user creation on RT on demand (users exist in our web app, they are
created in RT when needed.)
-. creating tickets in different queues with custom fields.
.- presenting a summary of ticket information as result of querying RT
using custom field values as search criteria.
-. adding/viewing ticket correspondence, ticket history and other details
(requestor, creation date, last update timestamp, etc).
There's one thing though that is still preventing us from going live.
Sometimes the requests take too much time to respond. It's kind
of random, so no pattern that could lead us to locate the problem. We tried
disabling devel mode (RT_SiteConfig.pm).
The rt log shows nothing in particular except for this entry:
[Tue Nov 22 17:11:58 2011] [error] [client 10.0.10.158] FastCGI: server
"/opt/rt4/sbin/rt-server.fcgi" stderr: [Tue Nov 22 22:11:58 2011]
[warning]: Use of uninitialized value in string eq at
/opt/rt4/sbin/../lib/RT/Tickets.pm line 1614.
(/opt/rt4/sbin/../lib/RT/Tickets.pm:1614)
It's worth mentioning that at that line, there's this clause:
if ( $cf->Type eq 'DateTime' && $op eq '=' ) {
We used Data::Dumper to see what came out of $cf and there seems to be no
'Type' attribute.
We are running RT v4.0.2 on CentOS 5.
Any help will be highly appreciated.
--
Hugo Escobar
hav
[image: AFS_logo.png]
Follow us on Facebook and Linked-In
[image: facebook-24x24.png]<http://www.facebook.com/pages/Miami-FL/ASSOCIATION-FINANCIAL/64952991864>
[image: linkedin-24x24.png] <http://www.linkedin.com/companies/1006276>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111122/3ad80931/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AFS_logo.png
Type: image/png
Size: 3183 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111122/3ad80931/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedin-24x24.png
Type: image/png
Size: 875 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111122/3ad80931/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: facebook-24x24.png
Type: image/png
Size: 814 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111122/3ad80931/attachment-0002.png>
More information about the rt-users
mailing list