Bug #5056

F3\Fluid\Core\RuntimeException thrown in file TemplateVariableContainer.php

Added by Martin Eisengardt almost 6 years ago. Updated about 4 years ago.

Status:Closed Start date:2009-10-20
Priority:-- undefined -- Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-
Has patch: Affected Flow version:

Description

I tried to build some kind of tree by invoking a section/for recurse.

Template:
<f:section name="children">
<f:for each="{parent.children}" as="child"> {indent}
Child: {child.name}
- #{child.objectUuid}
- <a href="<f:uri.action action='deletenode' arguments="{parent:parent,child:child}" />">Delete</a>
- <a href="<f:uri.action action='createnode' arguments="{parent:child}" />">Create new child</a><br />
<f:render partial="admin_index_nodelist" section="children" arguments="{parent:child, indent:indent}" />
</f:for>
</f:section>

Tried to remove a variable "child" which is not stored in the context!
37 F3\Fluid\Core\ViewHelper\TemplateVariableContainer::remove("child")
36 F3\Fluid\ViewHelpers\ForViewHelper::render(array, "child", "", boolean)
35 call_user_func_array(array, array)
34 F3\Fluid\Core\Parser\SyntaxTree\ViewHelperNode::evaluate()
33 F3\Fluid\Core\Parser\SyntaxTree\AbstractNode::evaluateChildNodes()
32 F3\Fluid\Core\ViewHelper\AbstractViewHelper::renderChildren()
31 F3\Fluid\ViewHelpers\SectionViewHelper::render()
30 call_user_func_array(array, array)
29 F3\Fluid\Core\Parser\SyntaxTree\ViewHelperNode::evaluate()
28 F3\Fluid\Core\Parser\SyntaxTree\AbstractNode::evaluateChildNodes()
27 F3\Fluid\Core\Parser\SyntaxTree\RootNode::evaluate()
26 F3\Fluid\Core\Parser\ParsingState::render(F3\Fluid\Core\Rendering\RenderingContext)
25 F3\Fluid\View\TemplateView::renderPartial("admin_index_nodelist", "children", array)
24 F3\Fluid\ViewHelpers\RenderViewHelper::render("children", "admin_index_nodelist", array)
23 call_user_func_array(array, array)
22 F3\Fluid\Core\Parser\SyntaxTree\ViewHelperNode::evaluate()
21 F3\Fluid\Core\Parser\SyntaxTree\AbstractNode::evaluateChildNodes()
20 F3\Fluid\Core\Parser\SyntaxTree\RootNode::evaluate()
19 F3\Fluid\Core\Parser\ParsingState::render(F3\Fluid\Core\Rendering\RenderingContext)
18 F3\Fluid\View\TemplateView::render()
17 F3\FLOW3\MVC\Controller\ActionController::callActionMethod()
16 F3\FLOW3\MVC\Controller\ActionController::processRequest(F3\FLOW3\MVC\Web\Request, F3\FLOW3\MVC\Web\Response)
15 F3\FLOW3\MVC\Dispatcher::dispatch(F3\FLOW3\MVC\Web\Request, F3\FLOW3\MVC\Web\Response)
14 F3\FLOW3\MVC\Dispatcher_AOPProxy_Development::dispatch(F3\FLOW3\MVC\Web\Request, F3\FLOW3\MVC\Web\Response)
13 call_user_func_array(array, array)
12 F3\FLOW3\MVC\Dispatcher_AOPProxy_Development::FLOW3_AOP_Proxy_invokeJoinPoint(F3\FLOW3\AOP\JoinPoint)
11 F3\FLOW3\AOP\Advice\AdviceChain::proceed(F3\FLOW3\AOP\JoinPoint)
10 F3\FLOW3\Security\Aspect\RequestDispatchingAspect::blockIllegalRequests(F3\FLOW3\AOP\JoinPoint)
9 F3\FLOW3\AOP\Advice\AroundAdvice::invoke(F3\FLOW3\AOP\JoinPoint)
8 F3\FLOW3\AOP\Advice\AdviceChain::proceed(F3\FLOW3\AOP\JoinPoint)
7 F3\FLOW3\Security\Aspect\RequestDispatchingAspect::initializeSecurity(F3\FLOW3\AOP\JoinPoint)
6 F3\FLOW3\AOP\Advice\AroundAdvice::invoke(F3\FLOW3\AOP\JoinPoint)
5 F3\FLOW3\AOP\Advice\AdviceChain::proceed(F3\FLOW3\AOP\JoinPoint)
4 F3\FLOW3\MVC\Dispatcher_AOPProxy_Development::dispatch(F3\FLOW3\MVC\Web\Request, F3\FLOW3\MVC\Web\Response)
3 F3\FLOW3\MVC\Web\RequestHandler::handleRequest()
2 F3\FLOW3\Core\Bootstrap::run()
1 require("Z:\ws\bgh-typo3\flow3\Packages\Framework\FLOW3\Scripts\FLOW3.php")

Please include more helpful information!

History

#1 Updated by Karsten Dambekalns almost 6 years ago

  • Project changed from TYPO3.Flow to TYPO3.Fluid
  • Category deleted (- Error Handler Report -)

#2 Updated by Sebastian Kurfuerst about 4 years ago

  • Status changed from New to Closed

resolved by now.

Also available in: Atom PDF