Project

General

Profile

Actions

Bug #101144

closed

Field type "group" with internal_type "db" seems not working with table "sys_file"

Added by Nilesh Malankiya over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2023-06-22
Due date:
% Done:

0%

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

Description

 <image>
    <TCEforms>
        <label>Select Image</label>
        <config>
            <type>group</type>
            <internal_type>db</internal_type>
            <appearance>
                <elementBrowserType>file</elementBrowserType>
                <elementBrowserAllowed>jpg,jpeg,png,svg</elementBrowserAllowed>
            </appearance>
            <allowed>sys_file</allowed>
            <size>1</size>
            <minitems>1</minitems>
            <maxitems>1</maxitems>
            <show_thumbs>1</show_thumbs>
        </config>
    </TCEforms>
</image>

The above configuration is working until TYPO3 v11, but in TYPO3 v12 it's not worked and is used in my many extensions with FlexForm <section> plugin options.

In my above screenshot, I didn't see files like before.


Files

clipboard-202306221305-gp6uh.png (27.6 KB) clipboard-202306221305-gp6uh.png Nilesh Malankiya, 2023-06-22 07:35

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #98668: elementBrowserType -> Bug in GroupClosed2022-10-20

Actions
Actions #1

Updated by Torben Hansen over 1 year ago

I do not think this is a bug. Your previous code was already a workaround to create a file relation in a flexform section.

"Hacky" workaround:

 <image>
    <TCEforms>
        <label>Select Image</label>
        <config>
            <type>link</type>
            <allowedTypes>
                <numIndex index="0">file</numIndex>
            </allowedTypes>
            <minitems>0</minitems>
            <maxitems>1</maxitems>
        </config>
    </TCEforms>
</image>
Actions #2

Updated by Christian Kuhn about 1 year ago

  • Related to Bug #98668: elementBrowserType -> Bug in Group added
Actions #3

Updated by Christian Kuhn about 1 year ago

  • Status changed from New to Closed

Hey.

Please see my comment on #98668. I hope it's ok to close here as well.

Actions

Also available in: Atom PDF