Js error if table not found

Created on 14 April 2025, 6 months ago

Problem/Motivation

Console js error.

Steps to reproduce

Install Inline Entity Form

Create a node type that has a multi-value plain text field and some nodes.

Create another new node type that has a multi-value entity reference field, pointing at the first node type. Set the form widget to use the "IEF - Complex" option. This provides the ability to edit referenced nodes while editing the parent.

Create a new node of the second type and add some first node type nodes to the field and save the node.

Edit the node (type 2), and then click to edit one of the referenced (type 1) nodes.

The error is happening for me on these nested tables. The code runs but they're not showing yet so are not found.

Proposed resolution

If the table doesn't exist, don't change properties or do stuff.

Remaining tasks

πŸ› Bug report
Status

Active

Version

5.5

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada scottm316

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @scottm316
  • Status changed to Needs review 3 months ago
  • πŸ‡ΊπŸ‡ΈUnited States joegraduate Arizona, USA
  • First commit to issue fork.
  • @trackleft2 opened merge request.
  • πŸ‡ΊπŸ‡ΈUnited States trackleft2 Tucson, AZ πŸ‡ΊπŸ‡Έ

    Converted to merge request for easier review. We' plan on using this patch in production soon, but have yet to roll it out yet. I'll report back once we have more real world feedback. Otherwise I think this should be OK to merge at any time.

  • πŸ‡ΊπŸ‡ΈUnited States averagejoe3000 Swanzey, NH

    I had this error with Webform and using a field that used tabledrag and allowed users to reorder the table.

    Applying the patch from MR 104 fixed the issue for me as well.

Production build 0.71.5 2024