I created a node and added selected item and saved the new node.
When I edit the created node, I de-select the item in the entityreference field (de-selecting checkbox on the node edit page, not in the modal) and save the node, then the node is saved with the item. The field value is not empty.

I mark this as major bug, because deleting a field value is main part, that should work.

Comments

bennos’s picture

Version: 7.x-2.x-dev » 7.x-2.0-alpha1
malovanets’s picture

Which version of the core do you use?

gaele’s picture

Version: 7.x-2.0-alpha1 » 7.x-2.0-alpha2
Issue summary: View changes

Using Drupal 7.26.

gaele’s picture

Title: De-select an item on node/*/edit saves with item » De-select an item on node/*/edit does not work on single value field
Version: 7.x-2.0-alpha2 » 7.x-2.x-dev
Issue summary: View changes

This only happens with single value fields.

malovanets’s picture

Fixed that in the recent dev commit. Check it out!

malovanets’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

  • Commit 2c388ae on 7.x-2.x by jsacksick:
    Issue #2177615: Fix the element validate behavior when deselecting an...
jsacksick’s picture

I committed a different fix for that issue, See 2c388ae