Hi all.
I have question about functionallity of this module.
My question is similar to Delete references to deleted entities
in my case:
I have entity with an "Entity reference" field. (Settings of field: Type of item to reference: Taxonomy, Allowed number of values: Unlimited).
I created instance with 3 referenced entities.(see reference before.png)
After it i have deleted entity #2 (with id=59). But it doesn't update entity reference field of current entity. (see reference after deleting.png). Also i checked it with devel (see reference after deleting devel.png).
I can see this behaviour not only for taxonomy term. (i reproduced it with other entity types).
Is this a bug or feature? I tried to find an answer for Drupal 8. But I encountered only with topics related to Drupal 7.
I noticed this when I wrote a module. After it i tested it manually. (use D8 - 8.0.6 and 8.1.18 versions).
Thanks a lot.
Comment | File | Size | Author |
---|---|---|---|
reference after deleting devel.png | 7.49 KB | dimatr | |
reference before.png | 15.22 KB | dimatr | |
reference after deleting.png | 12 KB | dimatr |
Comments
Comment #2
dimatr CreditAttribution: dimatr as a volunteer commentedComment #3
miiimoooComment #4
handkerchiefany news on that? this is really important!
Comment #5
grahamCEntity references are in D8 core, and #2723323: [META] Clean up references to deleted entities is the issue about this behaviour.