drupal_build_form needs default build_info parameters

dereine - November 8, 2009 - 10:38
Project:Views
Version:7.x-3.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

This error message comes when you open a view to edit... I like the definition of "code freeze" :)

#1

dereine - November 8, 2009 - 10:44
Title:Call to a member function init_display() on a non-object in /var/www/core/sites/all/modules/d7cx-views/includes/admin.inc» drupal_build_form needs default build_info parameters
Status:active» needs review

Ok, the problem is that every drupal_build_form needs a build_info => array('args' => array()),

This patch will fixes every instance.

PS: The file includes/admin.inc has a windows line-endings. I guess this should be fixed one day.

AttachmentSize
views-62720-build_info.patch 2.72 KB

#2

dereine - November 8, 2009 - 10:46

There are more places

AttachmentSize
views-62720-build_info.patch 4.12 KB

#3

dereine - November 9, 2009 - 22:38
Status:needs review» fixed

Fixed.

#4

System Message - November 23, 2009 - 22:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.