#1458: Fragment tests' nesting level too deep with process isolation set to 
false
---------------------+------------------------------------------------------
 Reporter:  horros   |       Owner:  david   
     Type:  defect   |      Status:  assigned
 Priority:  normal   |   Milestone:          
Component:  testing  |     Version:  HEAD    
 Severity:  normal   |    Keywords:          
Has_patch:  1        |  
---------------------+------------------------------------------------------

Comment(by david):

 I don't get this, and I cannot reproduce it. What are you doing to trigger
 it? Are you calling
 {{{AgaviFragmentTestCase::createExecutionContainer()}}}?

 Is there a way you could make a simple reproduce case, e.g. against the
 sample app? It has an action and a view test case, and with a data
 provider that simply does {{{return array_fill(0, 100, array(null));}}}
 you'd get a hundred calls to your test to reproduce the situation - I
 wasn't able to, even when calling {{{runView()}}} or {{{runAction()}}} or
 {{{createExecutionContainer()}}}.

 Looking at the code, this should never happen unless you somehow fiddle
 with the factory infos in the context, which I find hard to believe. Only
 then would it create a new class for every run or whatever.

 There must be something else going on here, maybe the fix you suggest just
 cures a symptom? Are you running any bytecode caches or such?

 If you don't feel like going it all alone, ping me anytime on IRC if you
 want to work on reproducing this :)

-- 
Ticket URL: <http://trac.agavi.org/ticket/1458#comment:2>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5



_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to