Issue Bug Closed

#57145FLUID viewhelper form.validationResults fails in sind Beta 6 (also Beta 7 and current master branch)

Anonymous 03/21/14, 13:04 updated 09/26/15, 15:49

Description

In TYPO3 6.1 this viewHelper don´t make any trouble, but TYPO3 6.2 since Beta 6 and after (and before?)

My editAction view render this partial, and fails:

<f:render partial="FormErrors" arguments="{object:issue}"></f:render>

Call to a member function setParent() on a non-object in typo3/sysext/extbase/Classes/Error/Result.php on line 216

*function in Result.php*
@ public function forProperty($propertyPath) {
if ($propertyPath = '' || $propertyPath = NULL) {
return $this;
}
if (strpos($propertyPath, ‘.’) !== FALSE) {
return $this->recurseThroughResult(explode(‘.’, $propertyPath));
}
if (!isset($this->propertyResults[$propertyPath])) {
$this->propertyResults[$propertyPath] = new Result();
$this->propertyResults[$propertyPath]->setParent($this);
}
return $this->propertyResults[$propertyPath];
}@

*My current fix:*
dont use it^^

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.