-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUGFIX] Incorrect variable container index #632
Conversation
@@ -651,8 +651,8 @@ public function renderContent($menu) { | |||
$tagContent = $this->autoRender($menu); | |||
$this->tag->setContent($tagContent); | |||
$deferredContent = $this->tag->render(); | |||
$this->viewHelperVariableContainer->addOrUpdate('FluidTYPO3\Vhs\ViewHelpers\Page\Menu\AbstractMenuViewHelper', 'deferredString', $deferredContent); | |||
$this->viewHelperVariableContainer->addOrUpdate('FluidTYPO3\Vhs\ViewHelpers\Page\Menu\AbstractMenuViewHelper', 'deferredArray', $menu); | |||
$this->viewHelperVariableContainer->addOrUpdate('\FluidTYPO3\Vhs\ViewHelpers\Page\Menu\AbstractMenuViewHelper', 'deferredString', $deferredContent); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The correct way is actually without leading backslash - if there are other occurrences we should fix those instead ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why would we not use a fully qualified name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just an array key and thus some sort of CGL I guess.
Roger that. Force pushed. |
Reply for Danilo's lost question:
We always would, except when the class name is a string value like it is here. This includes |
[BUGFIX] Incorrect variable container index
Ah ok. Kind of weird of ObjectManager though :-) |
No description provided.