In admin.inc, both views_ui_preview() and views_ui_edit_form() call set_display, but do not check to see if it returns FALSE.
I came across because the second conditional in view::build() wasn't working properly. The display handler is NULL, yet it continues to build.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1222494-admin-set_display-check.patch | 998 bytes | dawehner |
Comments
Comment #1
dawehnerI'm wondering about a proper help message which should be used here?
Something like t('Invalid display id @display ?
Anyway here is a patch.
Comment #2
dawehnerCommited this patch, there might be other places but better have something then nothing.