empty responses from new tickets

English! place to talk about development, programming and coding
Post Reply
h4ck3rm1k3
Znuny newbie
Posts: 1
Joined: 23 Oct 2011, 09:37
Znuny Version: cvn
Real Name: James Michael DuPont
Company: flossk

empty responses from new tickets

Post by h4ck3rm1k3 »

My mail to the otrs dev is not getting approved.

Hi,
I have started some experimental packaging of the CVS head/trunk in a
debian package.
you can find my code here on github https://github.com/h4ck3rm1k3/otrs

Currently am having problems that, after submitting a ticket, no html
is outputted, there is just an empty response and the browser does not
know how to deal with it.

The response is :
HTTP/1.1 200 OK
Date: Sun, 13 Nov 2011 19:21:45 GMT
Server: Apache/2.2.16 (Ubuntu)
Content-Length: 0
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/x-perl

Can you tell me what is supposed to get executed after a ticket is
submitted, should it not produce some webpage? Maybe a list of open
tickets?

Also I have a question about the callbacks/transactions here,
Kernel::System::Ticket::DESTROY
there are many things executed, how can I get a handle on the apache
request from inside these callbacks?

is there any documentation or flow diagrams for how the code is
executed in a request?

thanks,
mike

also posted here:
http://bugs.otrs.org/show_bug.cgi?id=7895
https://github.com/h4ck3rm1k3/otrs/issues/1
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: empty responses from new tickets

Post by jojo »

Hi,

CVS version not always will work as it is in active development at the moment. Please don't use head for this kind of tests. You should use the latest tar.gz version or the 3.0 branch

After submitting a new ticket the new phone ticket or the ticket zoom will be displayed.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Mike_B
Moderator
Posts: 266
Joined: 12 Jan 2010, 18:16
Znuny Version: CVS HEAD

Re: empty responses from new tickets

Post by Mike_B »

The debian packages are very nice because they keep the patches / packages separate from the code. Please not push the complete product to Git as that does not make sense to me.

As jojo said, CVS HEAD is not release quality. But you should get to LastOverview after you submitted a ticket. This might be due to the fact that you did not run bin/otrs.RebuildConfig at least once (or did not use the web installer, which does this for you.)

--
Mike
huntingbears.nl - @michielbeijen on Twitter
Post Reply