Skip to content
Snippets Groups Projects
  1. Oct 30, 2023
  2. Oct 27, 2023
  3. Oct 26, 2023
  4. Oct 25, 2023
  5. Oct 24, 2023
  6. Oct 23, 2023
  7. Oct 22, 2023
    • Christian Kuhn's avatar
      [!!!][TASK] Avoid TemplaVoila related FlexForm details · 04503276
      Christian Kuhn authored
      A simple TCA flex form definition in extensions simply uses
      the TCA 'ds' 'default' key to declare its data structure.
      
      tt_content is a bit more complex here, it uses 'ds' with
      a comma separated match list of two fields (ctype,list_type),
      defined by a 'ds_pointerField' combination to look up 'ds'
      keys. This is typically shadowed away for extension
      developers using EMU::addPiFlexFormValue().
      
      But there is more: 'ds_pointerField_searchParent',
      'ds_pointerField_searchParent_subField' and
      'ds_tableField': Those allow looking up the specific
      data structure of a flex form field by having the
      data structure stored in a different table, including
      tree traversal functionality.
      
      These three config options have been implemented for
      TemplaVoila back in the old days. In practice *nobody*
      uses these core features, even the templavoila extension
      forks don't use the core implementation since they come
      with xclass'es of FlexFormTools, or implement the
      events.
      
      To reduce complexity, this patch now removes handling of
      these three TCA options.
      
      Note we don't migrate the TCA definitions away to not
      add not needed headaches for extensions implementing
      functionality on top of it. They are just not handled in
      core anymore, handling can be continued by implementing
      the data structure related events.
      
      Resolves: #102224
      Releases: main
      Change-Id: Idd896a6bca179393c32360952f88bafd63de4898
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81503
      
      
      Tested-by: default avatarcore-ci <typo3@b13.com>
      Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
      Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
      Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
      Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
      Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
      Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
      04503276