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 you have the tablefield set to more than 1 "Number of values" or unlimited, the Locked defaults disappear on additional tablefields after the first one.
Comment | File | Size | Author |
---|---|---|---|
#3 | tablefield-multiple_default_values-3.patch | 940 bytes | jenlampton |
Comments
Comment #1
jenlamptonConfirmed. Only the first table (delta = 0) is locked.
Comment #2
jenlamptonI've tracked down the problem with
lock_values
and it's that there has to be a value there to lock down in the first place. Unfortunately, the default values are not populating the second (and so on) tablefields on an entity.Comment #3
jenlamptonhere we go. The problem was the check for a default used delta when there was only a single default present, so it should have been using zero.
Comment #6
jenlamptonThis fix will be in the next release of tablefield.