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.
Hi,
an undefined variable is used into the Entity class constructor ($info). As a result, 'status' key is assumed by default. So any custom key for 'status' could not be set.
thanks
Comment | File | Size | Author |
---|---|---|---|
#1 | entity-status_key-2167945-1.patch | 672 bytes | chaby |
Comments
Comment #1
chaby CreditAttribution: chaby commentedComment #2
chaby CreditAttribution: chaby commentedUp this issue because it is straightforward, this mistake is in the entity constructor itself and mostly, could be fixed quickly without testing ? Note that currently, this simple patch doesn't seems to be reroll...
Comment #3
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe 5 year old patch to entity.inc does not apply to the latest entity 7.x-1.x-dev and (if still relevant) needs reroll.