Issue Bug Closed

#80825FlexForm Sections don't get saved before the parent record was stored to the DB

Daniel Goerz 04/12/17, 17:10 updated 10/02/18, 11:00

Description

Reproduce with current 8LTS and styleguide extension:

  1. Create a styleguide record “Form engine – flex”
  2. Go to tab “section container”
  3. Create one or more container.
  4. Save & Close

The error message “1: Attempt to insert record on page ‘[root-level]’ (0) where this table, tx_styleguide_flex, is not allowed” is shown and the flexform was not stored. The field flex_2 of the newly created record is empty.

Containers can be created without problems once the parent recod is saved. The issue only occurs on creation of a new recod when it is saved for the first time.

Reviews 2