When I select a node (with auto complete field) and save, it does its job correctly.
But when I edit the entry, and delete the content of the nodereference field, then save.... the previously referenced node i still there. It seems there is no way to delete it.
Cordially,
Brakkar
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | nodereference-autocomplete-update-1.patch.txt | 1.43 KB | Egon Bianchet |
| #3 | nodereference-autocomplete-update.patch.txt | 1.43 KB | Egon Bianchet |
Comments
Comment #1
Egon Bianchet commentedI have the same problem
Comment #2
Egon Bianchet commenteduserreference seems to work fine
Comment #3
Egon Bianchet commentedOk here's a patch. The issue occurs only for single value autocomplete fields, because the standard content_filed 'op' case doesn't delete them ... so i implemented it (just for single value autocomplete fields) in nodereference.module
Comment #4
yched commentedthis probably needs a re-roll now that http://drupal.org/node/78825 has been committed
Comment #5
Egon Bianchet commentedRe-rolled
Comment #6
yched commentedI should have looked closer at your patch before asking you to re-roll it. Sorry about that
Actually, this is not right way to fix this.
This happens in nodereference_widget($op = 'process form values')
This should be fixed by the patch in http://drupal.org/node/62498
I'll wait until it gets committed to mark this as fixed
Comment #7
karens commentedI committed the patch at http://drupal.org/node/62498 which fixes this too.
Comment #8
(not verified) commented