Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CatalystX-AppBuilder CPAN distribution.

Report information
The Basics
Id: 55256
Status: resolved
Priority: 0/
Queue: CatalystX-AppBuilder

People
Owner: Nobody in particular
Requestors: ben [...] opusvl.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.00004
Fixed in: 0.00005



Subject: Setting config after setup has been run is not allowed
After kindly fixing the prev versions issue with using ScriptRunner.. I think this has introduced a new issue of when overriding _build_superclasses (as per the POD) The app croaks with "Setting config after setup has been run is not allowed" I think this is due to ->setup being call on each super class defined in the array 'superclasses' I am not sure how to fix this problem (or if it is even a real problem and not something I can get around another way)....either way I think you should know. Hopefully you will find time to look at the issue. Let me know if I can help in anyway. Kind regards, -Ben
I can kind of guess what's happening, but is it possible for you to give me a minimal test case? --d On 2010-3月-05 金 08:51:12, bugthing wrote: Show quoted text
> After kindly fixing the prev versions issue with using ScriptRunner.. I > think this has introduced a new issue of when overriding > _build_superclasses (as per the POD) > > The app croaks with "Setting config after setup has been run is not allowed" > > I think this is due to ->setup being call on each super class defined in > the array 'superclasses' > > I am not sure how to fix this problem (or if it is even a real problem > and not something I can get around another way)....either way I think > you should know. > > Hopefully you will find time to look at the issue. > > Let me know if I can help in anyway. > > Kind regards, > -Ben >
Subject: Re: [rt.cpan.org #55256] Setting config after setup has been run is not allowed
Date: Fri, 05 Mar 2010 16:54:13 +0000
To: bug-CatalystX-AppBuilder [...] rt.cpan.org
From: Benjamin Martin <benjamin [...] opusvl.com>
Hello, Not really a 'test case' ... but it does shows how 2 MyApps (Base and Extented) that I believe should work... but currently do not :( Basically MyApp::Base is the app that should get inherited by MyApp::Extended. Extended has not Root.pm as this should come from Base, but Extended does have a Test Controller I ran it like so: PERL5LIB="$PERL5LIB:/home/benjamin/temp/AppBuilderTest/MyApp-Base/lib" ./script/myapp_extended_server.pl -d -r I hope this helps Once again, many thanks, -Ben Daisuke Maki via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=55256 > > > I can kind of guess what's happening, but is it possible for you to give me a > minimal test case? > > --d > > On 2010-3月-05 金 08:51:12, bugthing wrote: >
>> After kindly fixing the prev versions issue with using ScriptRunner.. I >> think this has introduced a new issue of when overriding >> _build_superclasses (as per the POD) >> >> The app croaks with "Setting config after setup has been run is not allowed" >> >> I think this is due to ->setup being call on each super class defined in >> the array 'superclasses' >> >> I am not sure how to fix this problem (or if it is even a real problem >> and not something I can get around another way)....either way I think >> you should know. >> >> Hopefully you will find time to look at the issue. >> >> Let me know if I can help in anyway. >> >> Kind regards, >> -Ben >> >>
> > > >
Download AppBuilderTestApps.tgz
application/x-compressed-tar 38.5k

Message body not shown because it is not plain text.

Just uploaded CatalystX-AppBuilder 0.00005. Please try it out.
From: ben [...] opusvl.com
Working well nicely now and as expected. Thanks very much. FYI. It might be good to mention in the docs about using '+CatalystX::VirtualComponents' in order to inherite the Root Crontoller (etc.) from the Base app. Top work, thanks again, -Ben On Fri Mar 05 19:41:18 2010, DMAKI wrote: Show quoted text
> Just uploaded CatalystX-AppBuilder 0.00005. Please try it out.