Bug #81728

ElementBrowser broken with TCA type=group and internal_type=folder

Added by DANIEL Rémy over 1 year ago. Updated about 2 months ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2017-06-28
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:

Description

Hello

The elementBrowser for browsing folder (TCA type group with internal_type folder) is broken.
Expand/Collapse a folder does not work and return a 500 error

The reason is that the ajaxID used by the FolderBrower is the wrong one: sc_alt_db_navframe_expandtoggle instead of sc_alt_file_navframe_expandtoggle
In order to fix that bug, the ajaxID needs to be redefined when loading the JS module just for the FolderBrower, see attached diff file.

Occurs on TYPO3 7.6.
It was working in TYPO3 6.2.

Cheers

patch.diff View (456 Bytes) DANIEL Rémy, 2017-06-28 16:27

Associated revisions

Revision 2a618d47 (diff)
Added by Wolfgang Klinger over 1 year ago

[BUGFIX] Fix folder element browser expand/collapse

TCA type=group/internal_type=folder

Resolves: #81728
Releases: 7.6
Change-Id: I0c527c13a3632635870e4451a4e7d61eb7bf4443
Reviewed-on: https://review.typo3.org/53497
Tested-by: TYPO3com <>
Reviewed-by: DANIEL Rémy <>
Tested-by: DANIEL Rémy <>
Tested-by: Susanne Moog <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by DANIEL Rémy over 1 year ago

  • Subject changed from sc_alt_file_navframe_expandtoggle to ElementBrowser broken with TCA type=group and internal_type=folder

#2 Updated by Susanne Moog over 1 year ago

  • Sprint Focus set to On Location Sprint

#3 Updated by Wolfgang Klinger over 1 year ago

  • Assignee set to Wolfgang Klinger

#4 Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53497

#5 Updated by Anonymous over 1 year ago

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

#6 Updated by DANIEL Rémy about 1 year ago

Hello

Is it possible to report this fix in TYPO3 8.7?

Cheers

#7 Updated by Benni Mack 12 months ago

  • Sprint Focus deleted (On Location Sprint)

#8 Updated by Benni Mack about 2 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF