Bug #65250
closedTypoScript condition with GP not working as expected (does not merge array as in ".if" but preferes post values of a whole array)
100%
Description
If one uses TypoScript condition with GP then the check is with GeneralUtility::_GP($k) which will means that if I have Get variables beginning with an extbase pluginnamespace and post variables with the same pluginnamespace, e.g.
GET: tx_demo_demo[action]=detail
POST: tx_demo_demo[name]=Foo
Then GeneralUtility::_GP('tx_demo_demo') as intended will only return the array of the POST variables for that namespace.
However, that results in the issue that if I check for the GET variable the check will fail.
So, instead the check should use GeneralUtility::_GPmerged($k)
Updated by Gerrit Code Review over 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37157
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37157
Updated by Gerrit Code Review over 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37157
Updated by Gerrit Code Review over 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37157
Updated by Gerrit Code Review over 9 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37157
Updated by Gerrit Code Review over 9 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37157
Updated by Gerrit Code Review over 9 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37157
Updated by Gerrit Code Review over 9 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37157
Updated by Gerrit Code Review over 9 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37157
Updated by Andreas Allacher over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5569bee6b881f59ebc1c59753d71216a25e478dd.