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!

Comments

neoglez’s picture

Please, provide an export of the view.

neoglez’s picture

Status: Active » Postponed (maintainer needs more info)
cartagena’s picture

Thank 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'),
);

dawehner’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new2.27 KB

So what about this fix? Can you please test whether it fixes this for you?

cartagena’s picture

Thanks, 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!

BenK’s picture

Status: Needs review » Reviewed & tested by the community

@dereine: I tried the patch in #4 and it's working great for me. The notice is gone. I'm marking this RTBC.

--Ben

geek-merlin’s picture

:-)

latulipeblanche’s picture

You are so great... :)

The sun is shining and #4-patch worked, what do we want more ?

Tnx

damien tournoud’s picture

Status: Reviewed & tested by the community » Closed (won't fix)

I'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.

BenK’s picture

Damien,

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

cartagena’s picture

Same here. I updated to latest dev version, got the message, applied the patch and all is fine.

bc24102’s picture

Thanks for the patch. It worked for me as well!

dawehner’s picture

Assigned: Unassigned » merlinofchaos

Do we really want to export all people to reexport/resave all views?

Personally i would say no, assign to earl

brightbold’s picture

Thanks 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).

agentrickard’s picture

Status: Closed (won't fix) » Reviewed & tested by the community

Also getting this error with a non-exported View. Patch removed the error.

rooby’s picture

I 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.

agentrickard’s picture

Status: Reviewed & tested by the community » Needs work
StatusFileSize
new19.01 KB

The error is gone, but filtered text is not rendering properly for me anymore.

damien tournoud’s picture

The 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.

rooby’s picture

I am not seeing the same problem as agentrickard in my views.

dawehner’s picture

Status: Needs work » Needs review
StatusFileSize
new2.92 KB

Views 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.

agentrickard’s picture

Status: Needs review » Reviewed & tested by the community

Yes, 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].

dawehner’s picture

I would like to hear the oppinion from damz about this patch.

agentrickard’s picture

Only if he will recognize that I am not dealing with an exported View.

shawn dearmond’s picture

Patch worked for me. Thanks!

Road Runner’s picture

I 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.

dawehner’s picture

Status: Reviewed & tested by the community » Fixed

Oh forgot to mark this issue as fixed. This was commited yesterday.

Status: Fixed » Closed (fixed)

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