Commit 262cec51 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Bug #5557 / Form load: STORE_RECORD filled, but should be empty - clear...

Bug #5557 / Form load: STORE_RECORD filled, but should be empty - clear STORE_RECORD in case it's instantiated via QFQ controller.
parent 348149f9
......@@ -1089,9 +1089,6 @@ Example
{{[2]SELECT id, name FROM Form}}
{{[{{DB_INDEX_QFQ:Y}}]SELECT id, name FROM Form}}
.. _`column-variables`:
Column variables
......
......@@ -551,9 +551,11 @@ class Store {
self::$instance = new self($bodytext, $fileConfigIni);
} else {
// Class Store seems to be presistent over multiple QFQ instantiation. Set bodytext again, with every new request (if bodytext is given).
if ($bodytext !== '')
// Class Store seems to be persistent over multiple QFQ instantiation. Set bodytext again, with every new request (if bodytext is given).
if ($bodytext !== '') {
self::fillStoreTypo3($bodytext);
self::unsetStore(STORE_RECORD); // At least in Multi DB Setup: STORE_RECORD of former tt-content QFQ Records interfere with loading a form.
}
}
// Disable TYPO3_DEBUG_SHOW_BODY_TEXT=1 if SYSTEM_SHOW_DEBUG_INFO!='yes'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment