Project

General

Profile

Actions

Bug #91912

closed

Exception when adding nested inline elements

Added by Andreas Kießling over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2020-07-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

When configuring a powermail form, i got an exception trying to add a field with the "Create new record after this" button. The regular button that simply adds an element works like it should.
Since the exception only shows up with the button at record/inline level, i don't think, that it is a powermail bug

Conditions:
TYPO3 10.4.6
powermail: 8.1.2

Exception:

\TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowInitializeNew::setDefaultsFromInlineRelations - viewable in the response of the ajax request

(1/1) #1444434102 UnexpectedValueException
An inlineChildChildUid is given for table tx_powermail_domain_model_field, but no foreign_selector in inlineParentConfig

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #84867: Non admin-users aren't able to create IRRE records via the "+" IconClosed2018-04-25

Actions
Related to TYPO3 Core - Bug #91863: Remove selected option with ClosedNicole Cordes2020-07-24

Actions
Actions #1

Updated by S P over 4 years ago

Can confirm for custom table that worked in v9.

Actions #2

Updated by Webadmin no-lastname-given over 4 years ago

Can confirm it for an own extension in 10 LTS too. So it's not powermail related

Actions #3

Updated by Webadmin no-lastname-given over 4 years ago

  • Related to Bug #84867: Non admin-users aren't able to create IRRE records via the "+" Icon added
Actions #4

Updated by Emile Blume over 4 years ago

I can confirm this bug after updating my environment to TYPO3 10.4.6. and Powermail 8.1.2.

Testing this in TYPO3 10.4.5 with Powermail 8.1.1 gave no errors.

Actions #5

Updated by Christian Kuhn about 4 years ago

Confirmed.

Reproducible with ext:styleguide:

  • Styleguide data generation
  • Page "inline 1n"
  • List module
  • Edit record 1 of "Form engine - inline 1:n foreign field"
  • Click "+" ("Create new record after this record") Icon on child row "lipsum"

Works in v10.4.5
Broken in v10.4.6

Git bisect reveals patch https://review.typo3.org/c/Packages/TYPO3.CMS/+/65098 which is issue #91863 as reason.

Actions #6

Updated by Christian Kuhn about 4 years ago

  • Related to Bug #91863: Remove selected option with added
Actions #7

Updated by Christian Kuhn about 4 years ago

  • Is Regression set to Yes
Actions #8

Updated by Gerrit Code Review about 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65450

Actions #9

Updated by Gerrit Code Review about 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65450

Actions #10

Updated by Gerrit Code Review about 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65450

Actions #11

Updated by Gerrit Code Review about 4 years ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65454

Actions #12

Updated by Nicole Cordes about 4 years ago

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

Updated by Benni Mack about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF