Download & Extend

drupal_build_form needs default build_info parameters

Project:Views
Version:7.x-3.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

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

There are more places

AttachmentSize
views-62720-build_info.patch 4.12 KB

#3

Status:needs review» fixed

Fixed.

#4

Status:fixed» closed (fixed)

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