Comment 1 for bug 1749402

Revision history for this message
Robert Lyon (robertl-9) wrote :

The problem here stems from the htdocs/view/groupviews.php file around these lines:

 $data = View::view_search(null, null, (object) array('group' => $group->id), null, $limit, $offset,
                                          true, null, null, false, null, null,
                                          null, null, true);
 $viewdata = $data->data;
 View::get_extra_view_info($viewdata, false);
 View::get_extra_collection_info($viewdata, false, 'collid');

The issue is that $viewdata is an array of both collection and view data so when it gets to

 View::get_extra_view_info($viewdata, false);

it treats the collection 'id' like it is a view 'id' and if the collection has an 'id' that doesn't exist as an 'id' in the view table we get this error