Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fileFolderConfig is placed twice #3243

Closed
misterboe opened this issue Feb 6, 2023 · 0 comments · Fixed by #4030
Closed

fileFolderConfig is placed twice #3243

misterboe opened this issue Feb 6, 2023 · 0 comments · Fixed by #4030
Labels

Comments

@misterboe
Copy link

Typo3 11LTS with ssch/typo3-rector 1.1.1 and default rector.php

TCA field with fileFolder config in n custom table (tx_site_package_icon_box)

        "iconSelector" => [
            "label" => "Icon auswählen",
            "description" => "",
            "config" => [
                "type" => "select",
                "items" => [["", ""]],
                "renderType" => "selectSingle",
                "fileFolder" => "EXT:site_package/Modules/GlobalTemplates/Assets/icons/selectable_icons_be/",
                "fileFolder_extList" => "svg",
                "fileFolder_recursions" => 0,
                "fieldWizard" => [
                    "selectIcons" => [
                        "disabled" => false,
                    ],
                ],
            ],
        ],

is changed to:

        "iconSelector" => [
            "label" => "Icon auswählen",
            "description" => "",
            "config" => [
                "type" => "select",
                "items" => [["", ""]],
                "renderType" => "selectSingle",
                "fieldWizard" => [
                    "selectIcons" => [
                        "disabled" => false,
                    ],
                ],
                "fileFolderConfig" => [
                    "folder" => "EXT:site_package/Modules/GlobalTemplates/Assets/icons/selectable_icons_be/",
                    "allowedExtensions" => "svg",
                    "depth" => 0,
                ],
                "fileFolderConfig" => [
                    "folder" => "EXT:site_package/Modules/GlobalTemplates/Assets/icons/selectable_icons_be/",
                    "allowedExtensions" => "svg",
                    "depth" => 0,
                ],
            ],
        ],

fileFolderConfig is written twice into the field.

@misterboe misterboe added the Bug label Feb 6, 2023
sabbelasichon added a commit that referenced this issue Jan 23, 2024
sabbelasichon added a commit that referenced this issue Jan 23, 2024
* TASK: Avoid dupliacate entry

Resolves: #3243

* [CI] Rector Rectify

---------

Co-authored-by: GitHub Action <action@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant