Hi,

Thanks for your module. I'm using it now and it seems to work well. It would be better if this piece of code were a part of Entityreference, so I've posted an issue over there to create a discussion: http://drupal.org/node/1782306

I hope you don't mind.

Regards,
Bas

Comments

guschilds’s picture

I originally came upon this module in #1368386: Delete references to deleted entities. I have confirmed it to work and will be using it. Thanks so much!

juampynr’s picture

Since it does not offer support for all database types, this could be released as a separate module as long as it states its limitation.

dave reid’s picture

I don't think it's a good idea to merge this with Entity reference, considering that the core module is feature locked now too, so we would still need a solution for contrib in D8.

jpstrikesback’s picture

In that case ^^ shall we change this issue to "Promote to full project"?

juampynr’s picture

Agree with #4

jpstrikesback’s picture

Title: Merge with entityreference » Promote to full project

There we go.

Of course, a stable release will depend various and sundry factors including but not limited to #1969042: foreign key information on entity reference fields is not reliable which depends on #1969018: Field schema foreign keys is always hard-coded to 'node' despite target type not set to node entity type and #1416506: Field schema foreign keys support is broken the later of which was just committed to core in 7.23 (did I get that right? :))

alexkb’s picture

Great module David_Rothstein! Just tested it by deleting a term, and our nodes kept working afterwards. I wonder if it's worth counting the number of entities are adjusted as a result of the term (or other entity type) deletion, and doing a drupal_set_message to inform the user of this count?

But back on topic, +1 to promoting to a full project.

jordanmagnuson’s picture

Issue summary: View changes

I'd also be interested in getting this promoted to a full project... any update on the project status at the moment?

David_Rothstein’s picture

Version: » 7.x-1.0-beta1
Status: Active » Fixed

Thanks everyone! I went ahead and promoted this to a full project today and put out an initial beta release (the module is essentially stable but I think we need to wait for some kind of final resolution to #1969042: foreign key information on entity reference fields is not reliable before calling it a non-beta).

I originally kept this as a sandbox since there was overlap with Reference Delete, and I proposed merging the two instead, but that isn't going to happen (see #1775838: Merge this module with the "Field reference delete" sandbox module?) so I made this one a full project after all.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.