Project

General

Profile

Actions

Bug #98186

closed

__inheritances in EXT:form does not work

Added by Stefan Froemken over 2 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2022-08-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

Description

Hello EXT:form team,

I just try to optimize my form.yaml file that way:

...
finishers:
  1:
    identifier: SaveEventFinisher
    options:
      1:
        table: tx_events2_domain_model_link
        mode: insert
        elements:
          youtube-link:
            mapOnDatabaseColumn: link
        databaseColumnMappings:
          pid:
            value: 8
          crdate:
            value: '{__currentTimestamp}'
          tstamp:
            value: '{__currentTimestamp}'
      2:
        __inheritances:
          10: finishers.1.options.1
        elements:
          download-link:
            mapOnDatabaseColumn: link
      3:
        __inheritances:
          10: finishers.1.options.1
        elements:
          ticket-link:
            mapOnDatabaseColumn: link

But I still get the error that "table" was not configured for section 2 and 3. It seems that option "__inheritances" is not usable in files defined in that VH:

<formvh:render persistenceIdentifier="EXT:events2/Configuration/Form/NewEvent.form.yaml" />

Stefan


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #97517: Remove the superfluous vendor namespace (TYPO3.CMS.Form) within the form configurationClosedRalf Zimmermann2022-04-29

Actions
Actions #1

Updated by Benni Mack over 1 year ago

  • Sprint Focus set to On Location Sprint
Actions #2

Updated by Gerrit Code Review 6 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/+/85442

Actions #3

Updated by Friedemann Altrock 6 months ago

This should work in main (13) - probably also in 12; I suspect this was related to https://forge.typo3.org/issues/97517 (?)

Actions #4

Updated by Gerrit Code Review 6 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/+/85442

Actions #5

Updated by Gerrit Code Review 6 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/+/85442

Actions #6

Updated by Gerrit Code Review 6 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/+/85442

Actions #7

Updated by Christian Kuhn 6 months ago

  • Related to Task #97517: Remove the superfluous vendor namespace (TYPO3.CMS.Form) within the form configuration added
Actions #8

Updated by Anonymous 6 months ago

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

Updated by Benni Mack 4 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF