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).

Files: 
CommentFileSizeAuthor
#2 drupal-core-taxonomy-list-warning-1559410-1.patch656 byteskitkat13
PASSED: [[SimpleTest]]: [MySQL] 39,072 pass(es).
[ View ]

Comments

Status:Active» Postponed (maintainer needs more info)

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

Assigned:Unassigned» kitkat13
Status:Postponed (maintainer needs more info)» Active
StatusFileSize
new656 bytes
PASSED: [[SimpleTest]]: [MySQL] 39,072 pass(es).
[ View ]

A little patch ?

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.

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.

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

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.

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.

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.

Status:Needs review» Closed (duplicate)

Sorry, didn't see the response from @webchick

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.

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().

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

Issue summary:View changes

delete project name