iCal Bug

While testing the site I came across an apparent glitch, first the iCal
link on the search page is showing localhost as the http://host, if you
fix the url manually it gives a code error, upon inspection it appears
the method call in /opt/rt3/share/html/NoAuth/iCal/dhandler tries to
header_out() instead of headers_out->add() at line 56 and line 79…

Curtis

While testing the site I came across an apparent glitch, first the
iCal
link on the search page is showing localhost as the http://host, if
you
fix the url manually it gives a code error, upon inspection it appears
the method call in /opt/rt3/share/html/NoAuth/iCal/dhandler tries to
header_out() instead of headers_out->add() at line 56 and line 79…

$r->header_out() is a documented part of Mason’s API. Why do you
suspect that it’s wrong?

What’s the actual error trace you’re seeing?

-j

While testing the site I came across an apparent glitch, first the
iCal
link on the search page is showing localhost as the http://host, if
you
fix the url manually it gives a code error, upon inspection it appears
the method call in /opt/rt3/share/html/NoAuth/iCal/dhandler tries to
header_out() instead of headers_out->add() at line 56 and line 79…

$r->header_out() is a documented part of Mason’s API. Why do you
suspect that it’s wrong?

What’s the actual error trace you’re seeing?

Not sure if it’s the same as what Curtis is reporting, but when I tried
poking around with the iCal stuff this afternoon, I was getting the
following message:

Can’t locate object method “header_out” via package “Apache2:RequestRec” at
/usr/local/rt3/share/html/NoAuth/iCal/dhandler line 79, line 410.

Changing the call as noted in Curtis’s message did seem to fix the problem
for me…

Mark Roedel
Senior Programmer / Analyst
LeTourneau University

Mark Roedel wrote:> On 7/20/08 9:35 AM, “Jesse Vincent” jesse@bestpractical.com wrote:

On Jul 17, 2008, at 2:44 PM, Curtis Bruneau wrote:

While testing the site I came across an apparent glitch, first the
iCal
link on the search page is showing localhost as the http://host, if
you
fix the url manually it gives a code error, upon inspection it appears
the method call in /opt/rt3/share/html/NoAuth/iCal/dhandler tries to
header_out() instead of headers_out->add() at line 56 and line 79…

$r->header_out() is a documented part of Mason’s API. Why do you
suspect that it’s wrong?

What’s the actual error trace you’re seeing?

Not sure if it’s the same as what Curtis is reporting, but when I tried
poking around with the iCal stuff this afternoon, I was getting the
following message:

Can’t locate object method “header_out” via package “Apache2:RequestRec” at
/usr/local/rt3/share/html/NoAuth/iCal/dhandler line 79, line 410.

Changing the call as noted in Curtis’s message did seem to fix the problem
for me…


Mark Roedel
Senior Programmer / Analyst
LeTourneau University

It seems to be related to mod_perl2, they renamed a lot and I don’t see
header_out() in the documentation.

guys, try this patch.On Wed, Jul 23, 2008 at 2:01 AM, Mark Roedel MarkRoedel@letu.edu wrote:

On 7/20/08 9:35 AM, “Jesse Vincent” jesse@bestpractical.com wrote:

On Jul 17, 2008, at 2:44 PM, Curtis Bruneau wrote:

While testing the site I came across an apparent glitch, first the
iCal
link on the search page is showing localhost as the http://host, if
you
fix the url manually it gives a code error, upon inspection it appears
the method call in /opt/rt3/share/html/NoAuth/iCal/dhandler tries to
header_out() instead of headers_out->add() at line 56 and line 79…

$r->header_out() is a documented part of Mason’s API. Why do you
suspect that it’s wrong?

What’s the actual error trace you’re seeing?

Not sure if it’s the same as what Curtis is reporting, but when I tried
poking around with the iCal stuff this afternoon, I was getting the
following message:

Can’t locate object method “header_out” via package “Apache2:RequestRec” at
/usr/local/rt3/share/html/NoAuth/iCal/dhandler line 79, line 410.

Changing the call as noted in Curtis’s message did seem to fix the problem
for me…


Mark Roedel
Senior Programmer / Analyst
LeTourneau University


List info: The rt-devel Archives

Best regards, Ruslan.

RT-3.8.0-header_out_mp2.patch (1.13 KB)

While testing the site I came across an apparent glitch, first the
iCal
link on the search page is showing localhost as the http://host, if
you
fix the url manually it gives a code error, upon inspection it appears
the method call in /opt/rt3/share/html/NoAuth/iCal/dhandler tries to
header_out() instead of headers_out->add() at line 56 and line 79…

$r->header_out() is a documented part of Mason’s API. Why do you
suspect that it’s wrong?
Human Verification

What’s the actual error trace you’re seeing?

-j

Curtis


List info: The rt-devel Archives


List info: The rt-devel Archives

Best regards, Ruslan.

That worked for me. Thanks Ruslan.

Greg2008/7/29 Ruslan Zakirov ruz@bestpractical.com

guys, try this patch.

On Wed, Jul 23, 2008 at 2:01 AM, Mark Roedel MarkRoedel@letu.edu wrote:

On 7/20/08 9:35 AM, “Jesse Vincent” jesse@bestpractical.com wrote:

On Jul 17, 2008, at 2:44 PM, Curtis Bruneau wrote:

While testing the site I came across an apparent glitch, first the
iCal
link on the search page is showing localhost as the http://host, if
you
fix the url manually it gives a code error, upon inspection it appears
the method call in /opt/rt3/share/html/NoAuth/iCal/dhandler tries to
header_out() instead of headers_out->add() at line 56 and line 79…

$r->header_out() is a documented part of Mason’s API. Why do you
suspect that it’s wrong?

What’s the actual error trace you’re seeing?

Not sure if it’s the same as what Curtis is reporting, but when I tried
poking around with the iCal stuff this afternoon, I was getting the
following message:

Can’t locate object method “header_out” via package “Apache2:RequestRec”
at
/usr/local/rt3/share/html/NoAuth/iCal/dhandler line 79, line 410.

Changing the call as noted in Curtis’s message did seem to fix the
problem
for me…


Mark Roedel
Senior Programmer / Analyst
LeTourneau University


List info:
The rt-devel Archives


Best regards, Ruslan.


List info:
The rt-devel Archives

The patch does clear up the header_out errors for me.

However, all the tickets in my iCal result set end up getting applied to the
current date/time when imported into Outlook or Apple iCal, rather than
showing creation and/or due dates. Is that likely to be something I’ve
overlooked in the configuration, or is something deeper wrong there?

MarkROn 7/29/08 10:29 PM, “Ruslan Zakirov” ruz@bestpractical.com wrote:

guys, try this patch.

On Wed, Jul 23, 2008 at 2:01 AM, Mark Roedel MarkRoedel@letu.edu wrote:

On 7/20/08 9:35 AM, “Jesse Vincent” jesse@bestpractical.com wrote:

On Jul 17, 2008, at 2:44 PM, Curtis Bruneau wrote:

While testing the site I came across an apparent glitch, first the
iCal
link on the search page is showing localhost as the http://host, if
you
fix the url manually it gives a code error, upon inspection it appears
the method call in /opt/rt3/share/html/NoAuth/iCal/dhandler tries to
header_out() instead of headers_out->add() at line 56 and line 79…

$r->header_out() is a documented part of Mason’s API. Why do you
suspect that it’s wrong?

What’s the actual error trace you’re seeing?

Not sure if it’s the same as what Curtis is reporting, but when I tried
poking around with the iCal stuff this afternoon, I was getting the
following message:

Can’t locate object method “header_out” via package “Apache2:RequestRec” at
/usr/local/rt3/share/html/NoAuth/iCal/dhandler line 79, line 410.

Changing the call as noted in Curtis’s message did seem to fix the problem
for me…


Mark Roedel
Senior Programmer / Analyst
LeTourneau University


List info: The rt-devel Archives

start another discussion threadOn Wed, Jul 30, 2008 at 8:17 PM, Mark Roedel MarkRoedel@letu.edu wrote:

The patch does clear up the header_out errors for me.

However, all the tickets in my iCal result set end up getting applied to the
current date/time when imported into Outlook or Apple iCal, rather than
showing creation and/or due dates. Is that likely to be something I’ve
overlooked in the configuration, or is something deeper wrong there?


MarkR

On 7/29/08 10:29 PM, “Ruslan Zakirov” ruz@bestpractical.com wrote:

guys, try this patch.

On Wed, Jul 23, 2008 at 2:01 AM, Mark Roedel MarkRoedel@letu.edu wrote:

On 7/20/08 9:35 AM, “Jesse Vincent” jesse@bestpractical.com wrote:

On Jul 17, 2008, at 2:44 PM, Curtis Bruneau wrote:

While testing the site I came across an apparent glitch, first the
iCal
link on the search page is showing localhost as the http://host, if
you
fix the url manually it gives a code error, upon inspection it appears
the method call in /opt/rt3/share/html/NoAuth/iCal/dhandler tries to
header_out() instead of headers_out->add() at line 56 and line 79…

$r->header_out() is a documented part of Mason’s API. Why do you
suspect that it’s wrong?

What’s the actual error trace you’re seeing?

Not sure if it’s the same as what Curtis is reporting, but when I tried
poking around with the iCal stuff this afternoon, I was getting the
following message:

Can’t locate object method “header_out” via package “Apache2:RequestRec” at
/usr/local/rt3/share/html/NoAuth/iCal/dhandler line 79, line 410.

Changing the call as noted in Curtis’s message did seem to fix the problem
for me…


Mark Roedel
Senior Programmer / Analyst
LeTourneau University


List info: The rt-devel Archives

Best regards, Ruslan.