Project

General

Profile

Actions

Bug #57145

closed

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

Added by Anonymous over 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-03-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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}"/>

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


Files

FormErrors.html (354 Bytes) FormErrors.html Anonymous, 2014-03-21 13:04
57145.diff (943 Bytes) 57145.diff Philipp Thiele, 2014-06-21 17:44
Actions

Also available in: Atom PDF