hello,
same http://drupal.org/node/1559172 but in taxonomy module.

Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx/www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 2 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 3 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).
Warning: Missing argument 4 for taxonomy_options_list() in taxonomy_options_list() (line 1375 of xxx//www/modules/taxonomy/taxonomy.module).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

marcingy’s picture

Status: Active » Postponed (maintainer needs more info)

Please provide information of how to recreate this bug on a clean install of drupal core

kitkat13’s picture

Assigned: Unassigned » kitkat13
Status: Postponed (maintainer needs more info) » Active
FileSize
656 bytes

A little patch ?

kitkat13’s picture

I have a lot of feature with taxonomy_vocabulary in .install and / or in .taxonomy.inc.

I will be back with provide information of how to recreate this bug on a clean install of drupal core soon.

rbruhn’s picture

As posted by tecjam here http://drupal.org/node/1559258#comment-5950820 too.

Edit: There are other modules calling these hooks. For one, Entity Reference: function entityreference_options_list()
The change in api function hook_options_list($field, $instance = NULL) to function hook_options_list($field, $instance, $entity_type, $entity) needs to be implemented in modules calling this hook, or set default values.

marcingy’s picture

So in effect the API has changed between 7.12 and 7.14 is what you are saying.

marcingy’s picture

Priority: Normal » Major
Status: Active » Needs review

This is going to need to be fixed in d8 first and back ported if indeed it is an API issue - rasing priority to get some more eyes on this.

webchick’s picture

Status: Needs review » Closed (duplicate)

This was caused by #1541792: Enable dynamic allowed list values function with additional context, and we're going to fix it over there. Closing this as a duplicate.

BTMash’s picture

Version: 7.14 » 8.x-dev
Status: Closed (duplicate) » Needs review

We have to check if this is first an issue in D8 to begin with - from the other issue, I was able to resolve the issue by resaving the field. So if that is the case here as well, then it shouldn't be an issue in D8. So I'm changing the version to 8.x so one of us can see if this issue is coming up or not.

BTMash’s picture

Status: Needs review » Closed (duplicate)

Sorry, didn't see the response from @webchick

chx’s picture

Version: 8.x-dev » 7.x-dev
Status: Closed (duplicate) » Postponed

Nope, we need to know what calls taxonomy_options_list directly. That's a hook implementation not a public API.

semiaddict’s picture

I've managed to trace the call on my installation back to entity_metadata_field_options_list on line 445 in entity/modules/callbacks.inc (part of the entity module).

It seems to be getting fixed in #1556192: Incorrect invocation of hook_options_list().

dww’s picture

Status: Postponed » Closed (duplicate)

So, the problem in entity API is already fixed. Core's doing nothing wrong here. I'm not sure what having this separate issue open is good for. Closing as duplicate of the other two (linked from #7 and #11).

Thanks,
-Derek

dww’s picture

Issue summary: View changes

delete project name