Bug #50912
closedBackendUtility::viewOnClick() called with non-integer
100%
Description
The origin is in DatabaseRecordList::makeControl() that tries to create a preview link with the page id "243#33163" - more strict checks will deny this request because it's not the expected integer value. Thus, BackendUtility::viewOnClick() is called with a string instead of an integer. This happens in the regular list module in the TYPO3 backend.
It's not critical if hooks and further processors use intval() on the argument, but is bad if methods expect the defined integer value.
Updated by Gerrit Code Review over 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22951
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22951
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/23064
Updated by Sascha Egerer about 11 years ago
I don't understand the problem. Could you please add a testplan for that?
Updated by Oliver Hader about 11 years ago
- Is Regression set to No
True... that happened in combination with other patches...
The origin is that BackendUtility::viewOnClick('123#456', ...) is called instead of having a uid in the first argument.
Updated by Oliver Hader about 11 years ago
- Subject changed from Exception on listing content elements in workspaces to BackendUtility::viewOnClick() called with non-integer
Updated by Gerrit Code Review about 11 years ago
Patch set 2 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/23064
Updated by Gerrit Code Review about 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22951
Updated by Gerrit Code Review about 11 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22951
Updated by Oliver Hader about 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b7bdd84177ef69fca91430409df3280804395680.
Updated by Gerrit Code Review about 11 years ago
- Status changed from Resolved to Under Review
Patch set 3 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/23064
Updated by Gerrit Code Review about 11 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/24594
Updated by Oliver Hader about 11 years ago
- Status changed from Under Review to Resolved
Applied in changeset 5faa4da96391a7101d86026aa2342a6de2c8547a.