[Catalyst] Can't detach from root / create action object

Hartmaier Alexander alexander.hartmaier at t-systems.at
Wed Nov 27 12:24:43 GMT 2013

On 2013-11-27 13:00, Craig Chant wrote:
I seem to be going round in circles unable to understand how I create an ac=
tion object so I can pass it to detach as the IRC has told me to pass in an=
 action and not what I thought which was 'controller_name, subroutine'.



But it seems that this signature is  ('class_name', 'subroutine')

I'm having a problem with Catalyst randomly deciding when it is OK to have =
a controller and a model called the same, as I have in the same root auto s=
ubroutine ,


Where I have both a controller called 'SplashScreen' and a model called 'Sp=
lashScreen', and the detach works fine.

However, for another controller / model pair called 'ComplianceUpdates',

This doesn't work


and errors with...

Couldn't forward to "ComplianceUpdates". Does not implement "process"

Couldn't detach to command "complianceupdates": Invalid action or component.
So If I am to use


How do I create a Catalyst::Action object.
Exactly like I just told you on IRC: $c->detach($c->controller('ComplianceU=

What attributes am I meant to be setting in the object before I pass it in,=
 and where are the docs for this as I can't find them.

All help is appreciated.

Craig Chant
Information Technology Manager

[Description: Description: HLP_IT_Sig1]

  Direct Line: 01903 227 753       Main Line: 01903 602 664       Website: =

[Description: Description: HLP_Sig2_variant]

This Email and any attachments contain confidential information and is inte=
nded solely for the individual to whom it is addressed. If this Email has b=
een misdirected, please notify the author as soon as possible. If you are n=
ot the intended recipient you must not disclose, distribute, copy, print or=
 rely on any of the information contained, and all copies must be deleted i=
mmediately. Whilst we take reasonable steps to try to identify any software=
 viruses, any attachments to this e-mail may nevertheless contain viruses, =
which our anti-virus software has failed to identify. You should therefore =
carry out your own anti-virus checks before opening any documents. HomeLoan=
 Partnership will not accept any liability for damage caused by computer vi=
ruses emanating from any attachment or other document supplied with this e-=
mail. HomeLoan Partnership reserves the right to monitor and archive all e-=
mail communications through its network. No representative or employee of H=
omeLoan Partnership has the authority to enter into any contract on behalf =
of HomeLoan Partnership by email. HomeLoan Partnership is a trading name of=
 H L Partnership Limited, registered in England and Wales with Registration=
 Number 5011722. Registered office: Pharos House, 67 High Street, Worthing,=
 West Sussex, BN11 1DN. H L Partnership Limited is authorised and regulated=
 by the Financial Conduct Authority.

List: Catalyst at lists.scsys.co.uk<mailto:Catalyst at lists.scsys.co.uk>
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
Notice: This e-mail contains information that is confidential and may be pr=
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
-------------- next part --------------
Skipped content of type multipart/related

More information about the Catalyst mailing list