This repository was archived by the owner on May 4, 2021. It is now read-only.
Cast gridelements_container to integer for ReferenceUpdate#22
Open
cedricziel wants to merge 1 commit intoTYPO3-extensions:masterfrom
Open
Cast gridelements_container to integer for ReferenceUpdate#22cedricziel wants to merge 1 commit intoTYPO3-extensions:masterfrom
cedricziel wants to merge 1 commit intoTYPO3-extensions:masterfrom
Conversation
This change prevents strict type conversion null errors in the `ReferenceIndex` the when no `gridelements_container` is set (and the value would strictly be null). Error message for reference: ``` Argument 2 passed to TYPO3\CMS\Core\Database\ReferenceIndex::getRecordRawCached() must be of the type integer, null given, called in .../typo3_src-8.7.2/typo3/sysext/core/Classes/Database/ReferenceIndex.php on line 240 ```
Contributor
|
Please use the official issue tracker for reports or change requests, since this is just a mirror of the official TYPO3 git. |
1 similar comment
Contributor
|
Please use the official issue tracker for reports or change requests, since this is just a mirror of the official TYPO3 git. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change prevents strict type conversion null errors in the
ReferenceIndexthe when nogridelements_containeris set (and the value would strictly be null).Error message for reference: