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.
Function _node_example_installed_fields() tries to set label for node_example_color, but fields do not contain label attribute according to http://api.drupal.org/api/group/field_structs/7.
Function _node_example_installed_instances() tries to set cardinality for node_example_color, but instances do not contain cardinality attribute according to http://api.drupal.org/api/group/field_structs/7.
Comment | File | Size | Author |
---|---|---|---|
#2 | examples.node_example_instance_parms.patch | 1.37 KB | rfay |
Comments
Comment #1
rfayField Example is also broken, I assume due to the label change that just went in.
http://qa.drupal.org/pifr/test/26934
Would you be willing to roll a patch?
Comment #2
rfayHere's a patch to deal with this and a couple of other inconsistencies. Review appreciated.
Comment #3
rfayCommitted to HEAD: http://drupal.org/cvs?commit=420878
Thanks so much for the report and careful reading. Any more of that you want to do is welcome around here. Patches too.
Also, HEAD is fixed now, by http://drupal.org/cvs?commit=420864