Bug #81637
closedError when saving a forms Plugin
100%
Description
When saving a content element with plugin Forms I get an error: In TYPO 8.7.1. there was no error, but on TYPO3 8.7.2:
Oops, an error occurred! Argument 2 passed to TYPO3\CMS\Core\Database\ReferenceIndex::getRecordRawCached() must be of the type integer, null given, called in /home/wim/typo3_src-8.7.2/typo3/sysext/core/Classes/Database/ReferenceIndex.php on line 240
Reported via mailinglist.
Files
Updated by Gerrit Code Review over 7 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 https://review.typo3.org/53293
Updated by Markus Klein over 7 years ago
- Related to Bug #78634: Reference index causes an order of magnitude more SQL requests than necessary added
Updated by Gerrit Code Review over 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53293
Updated by Gerrit Code Review over 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53293
Updated by Gerrit Code Review over 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53293
Updated by Johannes Fürnhammer over 7 years ago
- File Bildschirmfoto 2017-06-22 um 12.46.33.JPG Bildschirmfoto 2017-06-22 um 12.46.33.JPG added
- File Bildschirmfoto 2017-06-22 um 12.45.26.JPG Bildschirmfoto 2017-06-22 um 12.45.26.JPG added
- File Bildschirmfoto 2017-06-22 um 12.45.14.JPG Bildschirmfoto 2017-06-22 um 12.45.14.JPG added
Also when localisize tt_content via "Translating content" this error occours.
FE get stucked in step "Processing...".
Updated by Wim Spijker over 7 years ago
Maskus Klein asked me to give information about this bug. This is my first entry, I hope all went well
This happens when opening content element to view or change, then save that gives this error. The changed text has been saved (you must refresh site). I have a 3 language site, default NL, language 1 EN and language 2 DE
Oops, an error occurred! Argument 2 passed to TYPO3\CMS\Core\Database\ReferenceIndex::getRecordRawCached() must be of the type integer, null given, called in /home/wim/typo3_src-8.7.2/typo3/sysext/core/Classes/Database/ReferenceIndex.php on line 240
My system:
TYPO3 version 8.7.2
UBUNTU 16.04 server
PHP 7.0.18
MySQL 5.7.18
best regards
Wim
It also happens if you have a text/media content element and you delete de image. After refreshing: the image is NOT deleted. Adding an image is also not possible.
It also happens when you unhide a content element.
At the moment my TYPO3 site is not usable, can I safely go back to 8.7.1?
Updated by Ian Solo over 7 years ago
Same problem here. It looks like a gridelements problem with TYPO3 8.7.2 here:
https://github.com/TYPO3-extensions/gridelements/blob/master/Classes/DataHandler/AbstractDataHandler.php#L247
$updateArray['tx_gridelements_container'] is NULL when hide/unhide CE in a translated page.
Updated by Christian Kuhn over 7 years ago
- have gridelements latest installed
- create page
- create content element text+image on page, have an image assigned
- create alternative page language
- use "translate" button in page module for column with text+image element, "translate" (not copy) -> error in last step
Updated by Michael Binder over 7 years ago
I've had this issue too. The Problem comes with gridelements (not supported for TYPO3 8).
The patch worked for me. After the patch was installed I could again create translations and save the plugin elements.
Tested with:- TYPO3 8.7.2
- Gridelements 7.1.0
Updated by Markus Klein over 7 years ago
gridelements 7.1 is not compatible with v8, you need to use the latest version from git (master branch).
In general the bug is present and might be triggered also in other cases, not only gridelements, as Christian's comment shows.
Currently there is a bigger evaluation, whether the original patch might be reverted or modified and if the current solution is still needed then or not.
Updated by Gerrit Code Review over 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53378
Updated by Markus Klein over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a2647b1aed48d9d82056cd405540fad639feb7e2.