TYPO3 v15 dev-main snapshot ()

This commit is contained in:
2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 changed files with 642608 additions and 0 deletions
@@ -0,0 +1,35 @@
.. include:: /Includes.rst.txt
.. _feature-65250:
===================================================
Feature: #65250 - TypoScript condition add GPmerged
===================================================
See :issue:`65250`
Description
===========
If one uses TypoScript condition with GP then the check is with GeneralUtility::_GP()
which means that if I have GET variables beginning with an extbase plugin-namespace
and POST variables with the same plugin-namespace, e.g.
GET: tx_demo_demo[action]=detail
POST: tx_demo_demo[name]=Foo
then GeneralUtility::_GP('tx_demo_demo'), as intended, will only return the
array of the POST variables for that namespace. However, that results in the issue that
if you check for the GET variable the check will fail.
So, instead the check should use GeneralUtility::_GPmerged()
.. code-block:: typoscript
[globalVar = GPmerged:tx_demo|foo = 1]
page.90 = TEXT
page.90.value = DEMO
[global]
.. index:: TypoScript, Frontend