Quickly edit referenced and rendered entities created by eck

Created on 18 November 2016, over 8 years ago
Updated 26 December 2024, 2 months ago

Problem:
A content type with a entity reference field, that references to eck-entities, which are rendered in the node, can not be edited quickly.

Why i go this way:
As a alternative to paragraphs, i use inline entity form and eck.

Replication steps:
1. Add a entity with eck called "Content Elements".
2. Add a eck bundle called "Body".
3. Add a text (formatted, long) field to this bundle.
4. Go to a content type (e.g. page) and add a field entity reference, which references to the "Content Elements" and the related bundle-type "Body".
5. Go to the manage form display and select the widget "Inline entity form - Complex".
6. Go to manage display an select "Rendered entity" for this field.
7. Create a node of this content type and enter random text to the field and save.
8. View the page, click on quick edit and try to edit the field "Content Elements".
9. It opens the inline entity form in the quick edit display, so far so good.
10. Click on edit on the field "Body", an Ajax error shows up:

Failed to load resource: the server responded with a status of 500 (Internal Server Error) 

path: /quickedit/form/node/16/field_global_content/de/full?_wrapper_format=drupal_ajax&ajax_form=1&_wrapper_format=drupal_ajax

12 If you instead create another field "Body" in that node and try only to change the order of the two body fields, no save button appears in the quick edit form.

Question:
Should it be possible to quickly edit this referenced data?

I know that eck-entities are not content entities.

And would it be possible with content entities and referenced fields?

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇭Switzerland handkerchief

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024