Bug #36860
Fix tests that fails on 32bit sytems
| Status: | Resolved | Start date: | 2012-05-05 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | Helmut Hummel | % Done: | 100% |
|
| Category: | Unit Tests | |||
| Target version: | 4.6.9 | |||
| TYPO3 Version: | 4.6 | Complexity: | ||
| PHP Version: | ||||
| Votes: | 0 |
Description
Problem:
forceIntegerInRangeForcesIntegerIntoDefaultBoundaries fails with data set veryHighValue on 32bit systems because the high number exceeds PHP_INT_MAX which is then iterpreted as a negative number.
Solution:
Use PHP_INT_MAX as very high number
Associated revisions
[BUGFIX] Fix math test on 32 bit systems
Change-Id: I02fde86434b0eef5eca1f0a162114669775a558c
Fixes: #36860
Releases: 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/11012
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
[BUGFIX] Fix math test on 32 bit systems
Change-Id: Ic27935585d9b40c9ffa4eaa6f1539533bedfb4c4
Fixes: #36860
Releases: 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/11014
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
[BUGFIX] Fix math test on 32 bit systems
Change-Id: I0408c5a6998eefd6dd38543c061523b851bda749
Fixes: #36860
Releases: 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/11013
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
[BUGFIX] Fix math test on 32 bit systems
Change-Id: I02fde86434b0eef5eca1f0a162114669775a558c
Fixes: #36860
Releases: 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/11012
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
History
Updated by Gerrit Code Review about 1 year 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 http://review.typo3.org/11012
Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/11013
Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/11014
Updated by Gerrit Code Review about 1 year ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11012
Updated by Gerrit Code Review about 1 year ago
Patch set 2 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/11014
Updated by Gerrit Code Review about 1 year ago
Patch set 2 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/11013
Updated by Helmut Hummel about 1 year ago
- Target version changed from 4.5.16 to 4.6.9
- % Done changed from 0 to 100
- TYPO3 Version changed from 4.5 to 4.6
Updated by Helmut Hummel about 1 year ago
- Status changed from Under Review to Resolved
Applied in changeset 620fe580caeb177156b9c235777ed20121763191.