[rt-users] HELP with RT API
Ken Crocker
kfcrocker at lbl.gov
Thu Aug 27 11:52:21 EDT 2009
Kevin,
My log has been on and it gives no errors. This is it (for a small file
for testing):
-bash-3.00$ ./RT-TravelConversion.pl
Use of uninitialized value in concatenation (.) or string at
/apps/rt/rt-3.6.4/etc/RT_SiteConfig.pm line 35.
Use of uninitialized value in concatenation (.) or string at
/apps/rt/rt-3.6.4/etc/RT_SiteConfig.pm line 47.
Use of uninitialized value in concatenation (.) or string at
/apps/rt/rt-3.6.4/etc/RT_SiteConfig.pm line 47.
Subroutine Connect redefined at /apps/rt/rt/lib/RT/Handle_Local.pm line 90.
Subroutine BuildDSN redefined at /apps/rt/rt/lib/RT/Handle_Local.pm line
121.
New_Ticket request=1 Ticket 87287 created in queue 'FS-Travel'
New_Ticket request=2 Ticket 87288 created in queue 'FS-Travel'
New_Ticket request=4 Ticket 87289 created in queue 'FS-Travel'
New_Ticket request=5 Ticket 87290 created in queue 'FS-Travel'
New_Ticket request=5 Ticket 87291 created in queue 'FS-Travel'
New_Ticket request=5 Ticket 87292 created in queue 'FS-Travel'
New_Ticket request=5 Ticket 87293 created in queue 'FS-Travel'
New_Ticket request=6 Ticket 87294 created in queue 'FS-Travel'
New_Ticket request=7 Ticket 87295 created in queue 'FS-Travel'
New_Ticket request=8 Ticket 87296 created in queue 'FS-Travel'
New_Ticket request=9 Ticket 87297 created in queue 'FS-Travel'
New_Ticket request=10 Ticket 87298 created in queue 'FS-Travel'
-bash-3.00$
Nothing in those messages syas I have a code problem or anything. You
have the code (attached in last note). The code seems simple enough, I
just can't seem to see the problem.
Kenn
LBNL
On 8/27/2009 7:14 AM, Kevin Falcone wrote:
> On Wed, Aug 26, 2009 at 01:50:36PM -0700, Ken Crocker wrote:
>
>> Kevin,
>>
>> I hate to bug you, but I went to your link and saw some code. I'm not a big perl guy (I can
>> code some simple scrips, etc.) so some of it confuses me. Attached is the program I've been
>> speaking of. I put what I thought would be the correct code in it ("set Date Fields").
>> It is not working. Before I added that "set Date Fields" section, the program would run, but
>> the date fields remained empty, except the resolved date and that would have today's date.
>> Could you please look at it and show me what I did wrong? Thanks.
>>
>
> Ken
>
> You're not providing any data or logging or error messages
> I suggest you warn out the original date, the processed date, the ISO
> date and turn your debugging logs on. You also probably want to start
> by getting ticket Create working with hardcoded date strings and then
> move on to processing your data.
>
> -kevin
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090827/35036aa8/attachment.htm>
More information about the rt-users
mailing list