Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Devel

REST issue when Text field and carriage return

 

 

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded


remy.berrebi at kelkoo

Nov 8, 2009, 10:33 PM

Post #1 of 3 (1075 views)
Permalink
REST issue when Text field and carriage return

Hello,

I'm using RT 3.6.9 on a Redhat platform, and we are plannified to use
REST capability with PHP interface to let people have some information,
statistic and such integrated to our system. Until now, to "read"
information is really easy. But we have problem to create ticket with
REST and PHP.

We use PHP and HTTP POST feature with "curl library" to create a ticket,
but when body of the ticket (filed Text) have more than one line, RT
return a 409 Error and give a mark to the second line, like it's not valid.

is there any thing we can do to have Text field with many line? we try
to replace \n\r by everything (\n only, \r only \r\n using php regex
function) but it's still the same : If Text field have 2 line, second
line is not valid :-(

thanks in advance for your help,

don't hesitate to reply to this subject and to ask more information if
needed.

have a good day.
regards,
_______________________________________________
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


jesse at bestpractical

Nov 9, 2009, 6:37 AM

Post #2 of 3 (984 views)
Permalink
Re: REST issue when Text field and carriage return [In reply to]

On Mon, Nov 09, 2009 at 07:33:17AM +0100, berrebi wrote:
> Hello,
>
> I'm using RT 3.6.9 on a Redhat platform, and we are plannified to use
> REST capability with PHP interface to let people have some information,
> statistic and such integrated to our system. Until now, to "read"
> information is really easy. But we have problem to create ticket with
> REST and PHP.
>

Please test this with a current release (3.8.6). We've made a number of
improvements in this area.
_______________________________________________
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


remy.berrebi at kelkoo

Nov 9, 2009, 6:52 AM

Post #3 of 3 (980 views)
Permalink
Re: REST issue when Text field and carriage return [In reply to]

Hi,

i already tried, and it work without problem, unfortunately for
production purpose, we need to use version 3.6.9 :-(
Any way, i continue to search and try many combination and php code to
find a solution.
thanks for your answer.
regards,

On 09/11/2009 15:37, Jesse Vincent wrote:
>
>
> On Mon, Nov 09, 2009 at 07:33:17AM +0100, berrebi wrote:
>
>> Hello,
>>
>> I'm using RT 3.6.9 on a Redhat platform, and we are plannified to use
>> REST capability with PHP interface to let people have some information,
>> statistic and such integrated to our system. Until now, to "read"
>> information is really easy. But we have problem to create ticket with
>> REST and PHP.
>>
>>
> Please test this with a current release (3.8.6). We've made a number of
> improvements in this area.
>

_______________________________________________
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.