[TASK] Allow proper quoting of database identifiers in TypoScript
Add markup to TypoScript CONTENT object options dealing with database fields so that SQL fragments can be created in a DBMS agnostic way using the proper quoting for the active database. Parsing in `sortBy` and `groupBy` is disabled as these parameters already follow a stricter syntax that allow automatic parsing and quoting. Usage Example: `select.where = {#colPos}=0` Change-Id: I95592b82de08e6cb6f9e952e6c456417878c23a8 Resolves: #80506 Releases: master Reviewed-on: https://review.typo3.org/52204 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Frank Naegler <frank.naegler@typo3.org> Tested-by:
Frank Naegler <frank.naegler@typo3.org> Reviewed-by:
Daniel Goerz <ervaude@gmail.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Classes/Database/Query/QueryHelper.php 24 additions, 0 deletionstypo3/sysext/core/Classes/Database/Query/QueryHelper.php
- typo3/sysext/core/Documentation/Changelog/master/Important-80506-DbalCompatibleFieldQuotingInTypoScript.rst 22 additions, 0 deletions...mportant-80506-DbalCompatibleFieldQuotingInTypoScript.rst
- typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts 5 additions, 13 deletions...t/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts
- typo3/sysext/core/Tests/Unit/Database/Query/QueryHelperTest.php 52 additions, 0 deletions...sysext/core/Tests/Unit/Database/Query/QueryHelperTest.php
- typo3/sysext/css_styled_content/Configuration/TypoScript/Helper/StylesContent.txt 3 additions, 3 deletions...content/Configuration/TypoScript/Helper/StylesContent.txt
- typo3/sysext/css_styled_content/Documentation/Configuration/Setup/Index.rst 1 addition, 1 deletion...tyled_content/Documentation/Configuration/Setup/Index.rst
- typo3/sysext/css_styled_content/Documentation/Installation/Index.rst 1 addition, 1 deletion...t/css_styled_content/Documentation/Installation/Index.rst
- typo3/sysext/fluid_styled_content/Documentation/Installation/InsertingContentPageTemplate/Index.rst 2 additions, 2 deletions...ation/Installation/InsertingContentPageTemplate/Index.rst
- typo3/sysext/fluid_styled_content/Documentation/Installation/Upgrading/Index.rst 3 additions, 3 deletions...ed_content/Documentation/Installation/Upgrading/Index.rst
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 4 additions, 1 deletion.../frontend/Classes/ContentObject/ContentObjectRenderer.php
- typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php 9 additions, 1 deletion.../Classes/ContentObject/Menu/AbstractMenuContentObject.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php 39 additions, 9 deletions...Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php
- typo3/sysext/frontend/ext_localconf.php 1 addition, 1 deletiontypo3/sysext/frontend/ext_localconf.php
Please register or sign in to comment