Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
25 Nov 2011 at 08:24 UTC
Updated:
26 Aug 2024 at 15:56 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerSadly this report doesn't explain how to reproduce it.
Actually this means that the following code produces an empty $column_names array, maybe you can understand why
but i think this should never be possible.
Comment #2
dawehnerOkay here is a patch.
The false assumption was that there are no fields without any columns.
Please test the patch, if it works for you, the patch can be commited.
Comment #3
mikran commentedI had several views with this notice in my installation and after applying the patch all those work as expected.
Comment #4
adam_b commentedWow, that's efficient... 3.5 hours between the original bug report and testing the patch? Impressive :)
Comment #5
dawehnerThanks for testing! Commited to 7.x-3.x
Comment #6
Anonymous (not verified) commented@Dereine: your are right, my information was sparse but the the causes were complicated to investigate because other modules were involved.
Fortunately you succeeded to patch and it worked for me too. Thank you very much!
Comment #7
nathan.bolin commented+1 for patch posted in #2 by dereine
Corrected these errors:
Notice: Undefined offset: 0 in views_handler_field_field→option_definition() (line 293 of /home/lwebg/public_html/blueribbon/sites/all/modules/views/modules/field/views_handler_field_field.inc).
Notice: Undefined offset: 0 in views_handler_field_field→option_definition() (line 293 of /home/lwebg/public_html/blueribbon/sites/all/modules/views/modules/field/views_handler_field_field.inc)
Comment #8.0
(not verified) commentedextra information