Issue Bug Closed

#98186__inheritances in EXT:form does not work

Stefan Froemken 08/22/22, 10:13 updated 10/15/24, 09:30

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

Reviews 1