Closed (fixed)
Project:
Taxonomy display
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Oct 2012 at 18:25 UTC
Updated:
9 Nov 2012 at 18:00 UTC
Jump to comment: Most recent file
When trying to set "Number of associated content entities per page *" to 0 (zero) to show all associated content. I get the following error.
Fatal error: Call to a member function fetchCol()on a non-object in modules/taxonomy/taxonomy.module on line 235.
If I put any number other than 0 (zero) in this setting everything works good. Have tried about 10 different numbers.
I am running Drupal 7.16, views 3 and panels.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | taxonomy_display-fatal_error_assoc_core_set_zero-1817970-2.patch | 1.36 KB | codycraven |
Comments
Comment #1
codycraven commentedConfirmed bug, in taxonomy.module the $limit is checked to be identical to FALSE. A condition is needed handlers/associated/core.inc before line 16 (in current 7.x-1.x) that checks for $number_nodes === '0' and changes it to FALSE.
Comment #2
codycraven commentedFix committed and pushed, patch attached.