Bug #100774
closedFluid Select ViewHelper getIdentifierByObject failes
100%
Description
In the Fluid Select ViewHelper line 238 the call of $this->persistenceManager->getIdentifierByObject misses a check if the $value is an object.
} elseif ($this->persistenceManager->getIdentifierByObject($value) !== null) {
It also could be an array. If so, then an error is shown.
The fix would be:
} elseif (is_object($value) && $this->persistenceManager->getIdentifierByObject($value) !== null) {
Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78889
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78889
Updated by Gerrit Code Review over 1 year ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78889
Updated by Gerrit Code Review over 1 year ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78889
Updated by Gerrit Code Review over 1 year ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78889
Updated by Oliver Bartsch over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fa305420be7580d06372410baf587c4f6af6a059.
Updated by Gerrit Code Review over 1 year ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78918
Updated by Oliver Bartsch over 1 year ago
- Status changed from Under Review to Resolved
Applied in changeset 75951ae8496d29970c986433f08468f019487dce.
Updated by Nikita Hovratov over 1 year ago
- Related to Task #100790: Provide meaningful error messages for misconfigured SelectViewHelper added