Bug #45165
closedWrong result on unequal globalVar conditions
100%
Description
Test with
[globalVar = LIT:10 != 10]
page.5 = COA_INT
page.5.10 = TEXT
page.5.10.value = test
[global]
or see attached unit test, which fails.
Was introduced with #39700 and a type save check in != comparison.
Files
Updated by Marc Bastian Heinrichs almost 12 years ago
- File 45165.diff 45165.diff added
Here is the patch
Updated by Thorsten Kahler almost 12 years ago
- Status changed from New to Accepted
- Complexity set to easy
Updated by Oliver Hader over 11 years ago
- Subject changed from Condition [globalVar = LIT:10 != 10] is true to Wrong result on unequal globalVar conditions
Updated by Oliver Hader over 11 years ago
Change that introduced this behaviour: https://review.typo3.org/#/c/13589/3/t3lib/matchcondition/class.t3lib_matchcondition_abstract.php,unified
Updated by Gerrit Code Review over 11 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21661
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/21663
Updated by Gerrit Code Review over 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/21664
Updated by Gerrit Code Review over 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/21663
Updated by Oliver Hader over 11 years ago
- Target version set to next-patchlevel
Updated by Marc Bastian Heinrichs over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 9b08788a422f8425a5198048f1966edbf87204ce.