Closed (fixed)
Project:
Taxonomy Entity Index
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Jun 2011 at 07:20 UTC
Updated:
4 Jan 2014 at 00:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dave reidIn which case it should allow the module to store NULL in the database and work as designed. Is this not the case?
Comment #2
hibersh commentedentity_extract_ids('commerce_product', $entity) return a NULL revision id, gotta error insert a null value in to table.
"commerce_product" is a entity type without revision.
Comment #3
dawehnerYou aren't allowed to use NULL in any kind of db_select/db_delete but you can use 0.
I think it's correct that entity_extract_ids return NULL for revision_id here.
@hibers
Needs review means that there is a patch.
With this patch it's possible to save terms on users.
Comment #4
dave reidd'oh! I double checked and Field API stores revision_id = entity_id in this case, so I slightly adjusted #3 to do that.
http://drupalcode.org/project/taxonomy_entity_index.git/commit/e3ff407