Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In searching I found this issue for the same error but it was tagged as a commerce issue. http://drupal.org/node/1166450
I posted there that I am not using commerce and have the same message. I am using organic groups and get the message when I display a panel of content specific to a group. I updated to the latest dev versions of OG (May 24) and Views (May 23) and also Ctools and have cleared the cache numerous times and still get the message. I will also post on as a views issue as it wider than commerce. Thank you, the module is amazing!
Comment | File | Size | Author |
---|---|---|---|
#20 | 1167562-unpack_options-notice-format.patch | 2.92 KB | dawehner |
#17 | Screen shot 2011-06-01 at 9.05.44 AM.png | 19.01 KB | agentrickard |
#4 | 1167562-unpack_options-notice-format.patch | 2.27 KB | dawehner |
Comments
Comment #1
neoglez CreditAttribution: neoglez commentedPlease, provide an export of the view.
Comment #2
neoglez CreditAttribution: neoglez commentedComment #3
cartagena CreditAttribution: cartagena commentedThank you, neoglez. Here is the export, there are no customizations, it is the OG view. Also, since I posted, the folks on the commerce thread dealing with the exact same message suggested I see this thread: http://drupal.org/node/1034532
Not sure if it will help or not. Thanks again, I appreciate your looking at it.
$view = new view;
$view->name = 'og_nodes';
$view->description = 'Show all content (nodes) of a group.';
$view->tag = 'og';
$view->base_table = 'node';
$view->human_name = 'OG content';
$view->core = 0;
$view->api_version = '3.0-alpha1';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
/* Display: Defaults */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->display->display_options['access']['type'] = 'none';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['style_plugin'] = 'default';
$handler->display->display_options['row_plugin'] = 'node';
$handler->display->display_options['row_options']['links'] = 1;
$handler->display->display_options['row_options']['comments'] = 0;
/* No results behavior: Global: Text area */
$handler->display->display_options['empty']['area']['id'] = 'area';
$handler->display->display_options['empty']['area']['table'] = 'views';
$handler->display->display_options['empty']['area']['field'] = 'area';
$handler->display->display_options['empty']['area']['empty'] = FALSE;
$handler->display->display_options['empty']['area']['content'] = 'There is no content in this group.';
/* Sort criterion: Content: Post date */
$handler->display->display_options['sorts']['created']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'node';
$handler->display->display_options['sorts']['created']['field'] = 'created';
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
/* Contextual filter: Fields: Group Membership (group_audience:gid) */
$handler->display->display_options['arguments']['group_audience_gid']['id'] = 'group_audience_gid';
$handler->display->display_options['arguments']['group_audience_gid']['table'] = 'field_data_group_audience';
$handler->display->display_options['arguments']['group_audience_gid']['field'] = 'group_audience_gid';
$handler->display->display_options['arguments']['group_audience_gid']['default_action'] = 'default';
$handler->display->display_options['arguments']['group_audience_gid']['default_argument_type'] = 'fixed';
$handler->display->display_options['arguments']['group_audience_gid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['group_audience_gid']['specify_validation'] = 1;
$handler->display->display_options['arguments']['group_audience_gid']['validate']['fail'] = 'empty';
$handler->display->display_options['arguments']['group_audience_gid']['break_phrase'] = 0;
$handler->display->display_options['arguments']['group_audience_gid']['not'] = 0;
/* Filter criterion: Content: Published */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = '1';
/* Display: Content pane */
$handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
$handler->display->display_options['pane_title'] = 'OG nodes';
$handler->display->display_options['allow']['use_pager'] = 0;
$handler->display->display_options['allow']['items_per_page'] = 0;
$handler->display->display_options['allow']['offset'] = 0;
$handler->display->display_options['allow']['link_to_view'] = 0;
$handler->display->display_options['allow']['more_link'] = 0;
$handler->display->display_options['allow']['path_override'] = 0;
$handler->display->display_options['allow']['title_override'] = 'title_override';
$handler->display->display_options['allow']['exposed_form'] = 0;
$handler->display->display_options['allow']['fields_override'] = 0;
$handler->display->display_options['argument_input'] = array(
'group_audience_gid' => array(
'type' => 'context',
'context' => 'entity:group.gid',
'context_optional' => 0,
'panel' => '0',
'fixed' => '',
'label' => 'Fields: group_audience (group_audience) - gid',
),
);
$translatables['og_nodes'] = array(
t('Defaults'),
t('more'),
t('Apply'),
t('Reset'),
t('Sort by'),
t('Asc'),
t('Desc'),
t('Items per page'),
t('- All -'),
t('Offset'),
t('There is no content in this group.'),
t('All'),
t('Content pane'),
t('OG nodes'),
t('View panes'),
);
Comment #4
dawehnerSo what about this fix? Can you please test whether it fixes this for you?
Comment #5
cartagena CreditAttribution: cartagena commentedThanks, dereine--that got rid of the error. I'm rather new at terminal and patches--here's what I got when I applied the patch:
File to patch: base.inc
patching file base.inc
patch unexpectedly ends in middle of line
Hunk #3 succeeded at 318 with fuzz 1.
not sure what fuzz 1 is, but I've tested a few things and it all seems to be ok--many thanks!
Comment #6
BenK CreditAttribution: BenK commented@dereine: I tried the patch in #4 and it's working great for me. The notice is gone. I'm marking this RTBC.
--Ben
Comment #7
geek-merlin:-)
Comment #8
latulipeblanche CreditAttribution: latulipeblanche commentedYou are so great... :)
The sun is shining and #4-patch worked, what do we want more ?
Tnx
Comment #9
Damien Tournoud CreditAttribution: Damien Tournoud commentedI'm won't fixing this. Those views have been uncompletely exported and they are missing some critical data. They need to be re-exported. Hiding the error under the carpet is not a solution.
Comment #10
BenK CreditAttribution: BenK commentedDamien,
I'm a bit confused. I've got the notice and I've never exported a view. All I've done to cause this error is update to the latest -dev version of Views. Are you saying this is only an export related problem?
Thanks,
Ben
Comment #11
cartagena CreditAttribution: cartagena commentedSame here. I updated to latest dev version, got the message, applied the patch and all is fine.
Comment #12
bc24102 CreditAttribution: bc24102 commentedThanks for the patch. It worked for me as well!
Comment #13
dawehnerDo we really want to export all people to reexport/resave all views?
Personally i would say no, assign to earl
Comment #14
BrightBoldThanks for the patch and for agreeing this should be fixed. I too got this on an OG/Panels page — with exported views (as far as I can recall).
Comment #15
agentrickardAlso getting this error with a non-exported View. Patch removed the error.
Comment #16
rooby CreditAttribution: rooby commentedI also have no exported views.
After updating from a previous 7.x-3.x-dev version to the latest this error appeared.
After applying the patch in #4 it is gone.
Comment #17
agentrickardThe error is gone, but filtered text is not rendering properly for me anymore.
Comment #18
Damien Tournoud CreditAttribution: Damien Tournoud commentedThe exported Views before this patch are *incomplete*. There is no way to reconstruct it without just guessing. I think those views just need to be reexported. We already fixed those of Drupal Commerce.
Comment #19
rooby CreditAttribution: rooby commentedI am not seeing the same problem as agentrickard in my views.
Comment #20
dawehnerViews itself uses filter_default_format() in the form so why not for the rendering, too.
if filter_default_format() isn't a safe format it's really a problem on the site.
Comment #21
agentrickardYes, that patch fixes the issue with the global text area handler not applying filters correctly.
Tested correctly with filtered html, plain text, and a custom [input filter].
Comment #22
dawehnerI would like to hear the oppinion from damz about this patch.
Comment #23
agentrickardOnly if he will recognize that I am not dealing with an exported View.
Comment #24
Shawn DeArmond CreditAttribution: Shawn DeArmond commentedPatch worked for me. Thanks!
Comment #25
Road Runner CreditAttribution: Road Runner commentedI get this warning messaging too. I am Commerce user using latest .dev version of Views June 6
***************EDIT*****************
Just downloaded lates .dev June 7 and problem seems to be fixed. Thank you.
Comment #26
dawehnerOh forgot to mark this issue as fixed. This was commited yesterday.