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.
Currently when exporting nodes and using features + diff to check whether they have changed (to revert or do any action on the feature), using dependency leads to false positives due to possible different ordering on disk and in memory generated feature.
The solution is to make sure the dependencies are always generated in the same order when listing them.
I attached a proposed patch which used this ordering : type > id > field_name
Tested OK on my dataset with sometimes same id on different fields (so dependency is added multiple time for different field names)
Comment | File | Size | Author |
---|---|---|---|
node_export_dependency-listorder.patch | 1.06 KB | sberthelot |
Comments