Circular reference clone

Created on 26 December 2019, almost 5 years ago
Updated 12 April 2023, over 1 year ago

Hi,

I have a entity reference field in Node type A referencing Node type B. In the same way, the reference of Node type A is there is Node type B. When I am trying to clone a content of A it creates the the new content of A and B which is all good. However, the new content of B is also getting referenced in the original content of A which is not desirable.

Any help?

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India pratip.ghosh

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.

  • 🇦🇺Australia rmasoad@gmail.com

    Line 97 in ContentEntityCloneFormBase indicates that entity reference fields to content entities can be clonable as well!
    Commenting out 'entity_reference' will make it work!

Production build 0.71.5 2024