I get a WSOD upon trying to create a feature that contains a feature override of certain views. I've tried 1.x-dev, as well, with no luck. The error is as follows:

Array
(
[type] => 1
[message] => Nesting level too deep - recursive dependency?
[file] => /path/to/drupal/profiles/drupal_commons/modules/contrib/ctools/includes/export.inc
[line] => 664
)

Please let me know if there is any more information I can provide.

Comments

sirkitree’s picture

I'm getting this as well. It's the second override feature I've created, trying to export a view.

I originally tried creating a feature for all of my overrides, but upon adding this second override to the feature I got this error. So I thought, maybe I need to put it in it's own feature, which would make sense to have an override feature for each separately overridden feature, and grouping those components together.

But I still got the same error.

Attached is the ridiculous dump I got along with the error - hard to read, I know. But it seems like it's trying to export way more than just the single component.

Also of note, is that this doesn't only happen when I try to create a new feature, but when I try to export the overridden component from admin/build/features/features-override

nedjo’s picture

Some views-related issues may be because views has been in flux and Features is working to catch up. See e.g. #1157048: Feature-packages appear overridden when they are not and #1097560: Features incompatible with the latest version of views. Probably worth trying with the dev version of Features.

a1russell’s picture

There is no dev release of Features for Drupal 6.x, but I just tried Features 7.x-1.0-beta3 (which should include fixes for the issues you mentioned), and I can't even get views to override at all. I guess that's a different issue than this one is, but this issue still stands in 6.x.

a1russell’s picture

I think the problem I was having in D7 with views was related to #1193862: Rules are exported by Features with their numeric IDs instead of machine names, which is fixed now. That said, this issue does still exist in D7:

[Fri Jun 24 16:55:05 2011] [error] [client 127.0.0.1] PHP Fatal error: Nesting level too deep - recursive dependency? in /path/to/ctools/includes/export.inc on line 838, referer: http://localhost/admin/structure/features/features-override

mh86’s picture

Version: 6.x-1.0-beta2 » 7.x-1.x-dev

Encountered this bug as well (in D7)

dbassendine’s picture

Also seeing this (in d6): http://drupal.org/node/1048322

piepkrak’s picture

Issue summary: View changes

Experiencing the same issue with a feature module containing rules configuration. These RulesCondition objects contain references to itself and gets stuck in _features_override_remove_recursion.

mpotter’s picture

Status: Active » Closed (fixed)

Object references and recursion are fixed in #2232999: Missing overrides due to recursive logic error, so closing this one.