Closed (cannot reproduce)
Project:
Taxonomy Menu
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Dec 2011 at 20:29 UTC
Updated:
23 Jan 2017 at 04:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dgastudio commentedsame here on add items to vocabulary.
Comment #2
planctus commentedSame problem here.. i was setting a translation set.
Da.
Comment #3
johnvIndeed, happens with latest version, too.
Seems like free tagging is not supported.
I get below messages, with AND without setting "Synchronise changes to this vocabulary".
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of entity.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 354 of entity.inc).
Notice: Array to string conversion in DatabaseStatementBase->execute() (line 2135 of database.inc).
Warning: Illegal offset type in taxonomy_field_validate() (line 1362 of taxonomy\taxonomy.module).
Notice: Trying to get property of non-object in taxonomy_field_validate() (line 1362 of taxonomy\taxonomy.module).
taxonomy_term_reference_illegal_value
Comment #4
ali_b commentedyes, it is with free tagging. menu item is created, but notice displayed:
Notice: Undefined property: stdClass::$description in _taxonomy_menu_create_item() (line 847 of .../sites/all/modules/taxonomy_menu/taxonomy_menu.module).
Comment #5
dstolA test with a free tagging taxonomy will solve this.
Comment #6
magnusk commentedHere is a possible fix for line 847. The term description does not exist if it's a new term that's being created in free tagging while saving a node.
Comment #7
lmeurs commented#6 seems to work for me, thanks a bunch!
Same for line 1155 of
taxonomy_menu.module. Original:Modified version:
Comment #8
johnvmore precise title.
Comment #9
corvus_ch commentedHere is a patch so we can do serious work here.
Comment #10
inventlogic commentedthis need to be ported to the 7.x-2.x branch as I am using the latest alpha and this error still occurs
Comment #11
hles commentedComment #11.0
hles commentedrefine issue
Comment #12
Garry Egan commented9: 1364144-9.patch queued for re-testing.
Comment #14
doitDave commentedPatch attached, tested locally working.
Changed branch to 1.x, as 1.x still is the only 7.x branch with a stable release.
Kindly asking to have this in a 1.6 release asap, thanks!
Comment #15
jenlamptonI'm unable to reproduce this error on the latest 7.x-1.x. If people are still seeing this notice please reopen this issue.