Code displayed when changing view display to grid style
wonder95 - June 13, 2009 - 20:19
| Project: | Views |
| Version: | 6.x-2.6 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
I get the following on a white screen when attempting to change a display style to a grid.
{ "display": "\x3cform action=\"/dev/admin/build/views/ajax/display/class_types/page_1/style_plugin\" accept-charset=\"UTF-8\" method=\"post\" id=\"views-ui-edit-display-form\"\x3e\n\x3cdiv\x3e\x3cdiv class=\"views-override clear-block\"\x3e\x3cinput type=\"submit\" name=\"op\" id=\"edit-button\" value=\"Use default\" class=\"form-submit\" /\x3e\n\x3cdiv class=\"description\"\x3e\x3ca href=\"/dev/help/views/overrides?popup=1\" class=\"advanced-help-link\" onclick=\"var w=window.open(this.href, \x26#039;advanced_help_window\x26#039;, \x26#039;width=500,height=500,scrollbars,resizable\x26#039;); w.focus(); return false;\" title=\"What are overrides?\"\x3e\x3cspan\x3eHelp\x3c/span\x3e\x3c/a\x3eStatus: using overridden values.\x3c/div\x3e\x3c/div\x3e\x3cdiv class=\"form-item\"\x3e\n \x3cdiv class=\"form-radios\"\x3e\x3cdiv class=\"form-item\" id=\"edit-style-plugin-bulk-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-style-plugin-bulk\"\x3e\x3cinput type=\"radio\" id=\"edit-style-plugin-bulk\" name=\"style_plugin\" value=\"bulk\" class=\"form-radio\" /\x3e Bulk Operations\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-style-plugin-calendar-style-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-style-plugin-calendar-style\"\x3e\x3cinput type=\"radio\" id=\"edit-style-plugin-calendar-style\" name=\"style_plugin\" value=\"calendar_style\" class=\"form-radio\" /\x3e Calendar\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-style-plugin-grid-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-style-plugin-grid\"\x3e\x3cinput type=\"radio\" id=\"edit-style-plugin-grid\" name=\"style_plugin\" value=\"grid\" checked=\"checked\" class=\"form-radio\" /\x3e Grid\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-style-plugin-list-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-style-plugin-list\"\x3e\x3cinput type=\"radio\" id=\"edit-style-plugin-list\" name=\"style_plugin\" value=\"list\" class=\"form-radio\" /\x3e HTML List\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-style-plugin-table-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-style-plugin-table\"\x3e\x3cinput type=\"radio\" id=\"edit-style-plugin-table\" name=\"style_plugin\" value=\"table\" class=\"form-radio\" /\x3e Table\x3c/label\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-style-plugin-default-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-style-plugin-default\"\x3e\x3cinput type=\"radio\" id=\"edit-style-plugin-default\" name=\"style_plugin\" value=\"default\" class=\"form-radio\" /\x3e Unformatted\x3c/label\x3e\n\x3c/div\x3e\n\x3c/div\x3e\n \x3cdiv class=\"description\"\x3eIf the style you choose has settings, be sure to click the settings button that will appear next to it in the View summary.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item description\"\x3eYou may also adjust the \x3ca href=\"/dev/admin/build/views/nojs/display/class_types/page_1/style_options\" class=\"views-ajax-link \" title=\"settings\"\x3esettings\x3c/a\x3e for the currently selected style by clicking on the icon.\x3c/div\x3e\x3cdiv class=\"clear-block\"\x3e\x3cdiv class=\"form-buttons\"\x3e\x3cinput type=\"submit\" name=\"op\" id=\"edit-submit\" value=\"Update\" class=\"form-submit\" /\x3e\n\x3cinput type=\"submit\" name=\"op\" id=\"edit-cancel\" value=\"Cancel\" class=\"form-submit\" /\x3e\n\x3c/div\x3e\x3c/div\x3e\x3cinput type=\"hidden\" name=\"form_build_id\" id=\"form-dba4265930a4b51e1bb79d76e9e32a30\" value=\"form-dba4265930a4b51e1bb79d76e9e32a30\" /\x3e\n\x3cinput type=\"hidden\" name=\"form_token\" id=\"edit-views-ui-edit-display-form-form-token\" value=\"373545a867c88b495a6131bff0c41fb5\" /\x3e\n\x3cinput type=\"hidden\" name=\"form_id\" id=\"edit-views-ui-edit-display-form\" value=\"views_ui_edit_display_form\" /\x3e\n\n\x3c/div\x3e\x3c/form\x3e\n", "title": "\x3ca href=\"/dev/help/views/style?popup=1\" class=\"advanced-help-link\" onclick=\"var w=window.open(this.href, \x26#039;advanced_help_window\x26#039;, \x26#039;width=500,height=500,scrollbars,resizable\x26#039;); w.focus(); return false;\" title=\"Output styles (View styles)\"\x3e\x3cspan\x3eHelp\x3c/span\x3e\x3c/a\x3ePage: How should this view be styled", "url": "http://www.myartleague.org/dev/admin/build/views/ajax/display/class_types/page_1/style_plugin", "js": null, "hilite": ".views-item-page-1-style-plugin" }
#1
mh could you provide more informations?
here it works fine.
#2
I'm getting the same thing when I make any changes to a view (ie click Update):
{ "display": "\x3cform action=\"/admin/build/views/ajax/add-item/custom_store_reports/default/field\" accept-charset=\"UTF-8\"
[...]
/div\x3e", "#views-tab-title-default": "Defaults" }, "changed": true }
When I hit the back button, everything is fine, including the update...
This started a few days ago, I'll go back and see what I changed/updated but nothing comes to mind...
sorry not to have more details
m
#3
See http://drupal.org/node/347753 for discussion and some fixes.