Project

General

Profile

Actions

Bug #101636

closed

appendString does not respect round bracket

Added by Stephan Bauer over 1 year ago. Updated 8 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2023-08-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:
On Location Sprint

Description

I tried to us appendString to add SQL in sitemap config.

additionalWhere := appendString( AND `uid` NOT IN (48,10,50))

but in Version 12 the string is cut after the first closing round bracket in 'Active Typoscript viewer' and the SQL is incorrect:
additionalWhere = {#no_index} = 0 AND {#canonical_link} = '' AND uid NOT IN (48,10,50

This worked in Version 10.
plugin.tx_seo.config {
    xmlSitemap {
        sitemaps {
            pages {
                config {
                    additionalWhere := appendString( AND `uid` NOT IN (48,10,50))
                }
            }
        }
    }
}


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #97816: New TypoScript parserClosed2022-06-27

Actions
Actions #1

Updated by Riccardo De Contardi 5 months ago

Still reproducible also on 13.2.0-dev (latest main)

Actions #2

Updated by Riccardo De Contardi 5 months ago

  • Complexity set to medium
  • Sprint Focus set to On Location Sprint
Actions #3

Updated by Gerrit Code Review 5 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84909

Actions #4

Updated by Gerrit Code Review 4 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84909

Actions #5

Updated by Gerrit Code Review 4 months ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84909

Actions #6

Updated by Gerrit Code Review 2 months ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84909

Actions #7

Updated by Gerrit Code Review about 1 month ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84909

Actions #8

Updated by Christian Kuhn about 1 month ago

Actions #9

Updated by Gerrit Code Review 8 days ago

Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84909

Actions #10

Updated by Gerrit Code Review 8 days ago

Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84909

Actions #11

Updated by Gerrit Code Review 8 days ago

Patch set 1 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86984

Actions #12

Updated by Gerrit Code Review 8 days ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86985

Actions #13

Updated by Garvin Hicking 8 days ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF