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
>>
>>
>
>
>
>