I am completely new to Drupal / Views. I am running Drupal off CVS and Views 6.x-3.x-dev. When I added my own custom content-type and displayed it on a page I ran into two issues:
notice: Undefined property: views_plugin_row_fields::$field_alias in drupal\sites\all\modules\views\plugins\views_plugin_row.inc on line 137.
as well as:
notice: Undefined index: distinct in drupal\sites\all\modules\views\plugins\views_plugin_query_default.inc on line 1070.
Version of PHP 5.3.3 with E_ALL & ^E_DEPRECATED. I am not sure what the official way of handling these is, but here is the patch I applied on my copy (with absolutely no idea what I am doing).
Comments
Comment #1
redndahead commentedI'm seeing the same thing as the first notice. php 5.2, but I'm using alpha3 so not sure if it's fixed by now.
Comment #2
bojanz commentedThe first part of the patch is valid.
The second is no longer needed.
So, a reroll with just the first part, and a RTBC.
Comment #3
merlinofchaos commentedCommitted to 3.x.
Can someone confirm this does not affect 2.x?
Comment #4
dawehnerThere will be no index involved here. So it's fine.