Re: [Catalyst] I'm getting wrong uri_for

2009-10-13 Thread Tomas Doran
Oleg Pronin wrote: I rendered tt2 template from offline script (mail template). On catalyst 5.7 i made a "fake" object i.e. $c = new MyApp(); and set $c->request/response etc. for the code to work as in request with no differences. But the way i initialized Request object is no longer working on

Re: [Catalyst] I'm getting wrong uri_for

2009-10-13 Thread Oleg Pronin
I rendered tt2 template from offline script (mail template). On catalyst 5.7 i made a "fake" object i.e. $c = new MyApp(); and set $c->request/response etc. for the code to work as in request with no differences. But the way i initialized Request object is no longer working on 5.8 because Request

Re: [Catalyst] I'm getting wrong uri_for

2009-10-12 Thread Joel Bernstein
2009/10/12 Oleg Pronin : > sorry for disturbing you guys, that was fully my issue :-) But what was it? Your explanation "offline script" made no sense. If you explain then the next person who makes the same mistake will be able to find the answer in the archives. /joel __

Re: [Catalyst] I'm getting wrong uri_for

2009-10-12 Thread J. Shirley
On Mon, Oct 12, 2009 at 10:39 AM, Oleg Pronin wrote: > sorry for disturbing you guys, that was fully my issue :-) > > 2009/10/12 Tomas Doran : > > Oleg Pronin wrote: > >> > >> Holy shit! i'm an asshole. That template was rendered in offline > >> script :-) Strange... how did that work on Catalyst

Re: [Catalyst] I'm getting wrong uri_for

2009-10-12 Thread Oleg Pronin
sorry for disturbing you guys, that was fully my issue :-) 2009/10/12 Tomas Doran : > Oleg Pronin wrote: >> >> Holy shit! i'm an asshole. That template was rendered in offline >> script :-) Strange... how did that work on Catalyst 5.7 ?    :-) > > Huh? > > Cheers > t0m > >

Re: [Catalyst] I'm getting wrong uri_for

2009-10-12 Thread Tomas Doran
Oleg Pronin wrote: Holy shit! i'm an asshole. That template was rendered in offline script :-) Strange... how did that work on Catalyst 5.7 ?:-) Huh? Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/

Re: [Catalyst] I'm getting wrong uri_for

2009-10-12 Thread Oleg Pronin
Holy shit! i'm an asshole. That template was rendered in offline script :-) Strange... how did that work on Catalyst 5.7 ?:-) 2009/10/12 Tomas Doran : > Oleg Pronin wrote: >> >> Hello. I upgraded to Catalyst 5.8 (5.80013) and i've got problem with >> uri_for. >> >> It warns >> Explicit ble

Re: [Catalyst] I'm getting wrong uri_for

2009-10-12 Thread J. Shirley
On Mon, Oct 12, 2009 at 10:19 AM, Oleg Pronin wrote: > Hello. I upgraded to Catalyst 5.8 (5.80013) and i've got problem with > uri_for. > > It warns > Explicit blessing to '' (assuming package main) at > /usr/local/lib/perl5/site_perl/5.10.1/Catalyst.pm line 1281. > > Becase $c->req->base is empt

Re: [Catalyst] I'm getting wrong uri_for

2009-10-12 Thread Tomas Doran
Oleg Pronin wrote: Hello. I upgraded to Catalyst 5.8 (5.80013) and i've got problem with uri_for. It warns Explicit blessing to '' (assuming package main) at /usr/local/lib/perl5/site_perl/5.10.1/Catalyst.pm line 1281. Becase $c->req->base is empty. I'm not using custom Request object. Any id

[Catalyst] I'm getting wrong uri_for

2009-10-12 Thread Oleg Pronin
Hello. I upgraded to Catalyst 5.8 (5.80013) and i've got problem with uri_for. It warns Explicit blessing to '' (assuming package main) at /usr/local/lib/perl5/site_perl/5.10.1/Catalyst.pm line 1281. Becase $c->req->base is empty. I'm not using custom Request object. Any idea what is the reason