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.
If $node has some recursion, defaultcontent_export_node/features_var_export will get in a recursive loop and fail
One issue that causes this is if something like search_cron has indexed the node in the same page load and node uses user/node references, those module may add recursion there
Reproducible using drush site-install openpublic
Comment | File | Size | Author |
---|---|---|---|
#1 | 2049527-defaultcontent_node_load_refresh-1.patch | 467 bytes | hefox |
Comments
Comment #1
hefox CreditAttribution: hefox commentedHere's a patch that addresses the fact that the node may have been put through node_view via refreshing the load with $reset TRUE
Comment #2
hefox CreditAttribution: hefox commented#2049529: features_var_export is suspectable to recursion is features issue, but imo defaultcontent should not be sending a dirty/recursive node
Comment #3
kenorb CreditAttribution: kenorb commented