
diment at gmail
Apr 2, 2012, 2:48 AM
Post #5 of 6
(257 views)
Permalink
|
|
Re: All actions marked as Private and are being ignored
[In reply to]
|
|
As Tom says, that's expected behaviour. Auto is for bailing (e.g. if auth fails). On 02/04/2012, at 7:43 PM, abhishek jain wrote: > Hi Kieren, > > I just found if in auto action I add > 1; > Add end of code, the code works fine and the requested action is executed > If i don't return a value , the code ignores the requested action and end > action is called. > > Don't know why, any suggestions, > So > sub auto : Private { > #....... > ........ > 1; > } > Works fine > > And > > sub auto : Private { > ... > } > Fails. > > Thanks > Abhi > > > -----Original Message----- > From: Kieren Diment [mailto:diment [at] gmail] > Sent: 02 April 2012 11:55 > To: The elegant MVC web framework > Subject: Re: [Catalyst] All actions marked as Private and are being ignored > > > > On 02/04/2012, at 4:18 PM, abhishek jain wrote: > >> Hi, >> >> I am finding a strange situation. >> >> If i restart my catalyst application,i find in debug messages, all of >> my actions are marked as Private. >> >> Also if i execute the code, then it will execute the auto and end >> functions and bypasses the called action. >> >> >> >> Ie. If i call /search . It will run auto, end and will ignore search > action. >> >> >> >> Dont know why, >> >> What info will you guys need from me to help me? > > > Why don't you try to write a minimal test case demonstrating your problem? > Is this with the dev server? Is it with some front end deployment? > _______________________________________________ > List: Catalyst [at] lists > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/catalyst [at] lists/ > Dev site: http://dev.catalyst.perl.org/ > > > _______________________________________________ > List: Catalyst [at] lists > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/catalyst [at] lists/ > Dev site: http://dev.catalyst.perl.org/ _______________________________________________ List: Catalyst [at] lists Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst [at] lists/ Dev site: http://dev.catalyst.perl.org/
|