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.
In D7, privatemsg_message is fieldable. However, field content does not show on a message until a cache clear, which is very confusing to users.
Comment | File | Size | Author |
---|---|---|---|
#2 | privatemsg.clear_field_cache_2577823_02.patch | 462 bytes | rfay |
Comments
Comment #2
rfayI believe the attached patch is the correct solution, but maybe there's another way?
If you have this problem and just need a workaround instead of a patch, you can implement this in a custom module:
Comment #5
oadaeh CreditAttribution: oadaeh at Hook 42 commentedWe've been using the patch on a 7.x-2.x branch in production since the middle of last year with no problems, and since it seems like a bug to me, I've committed it to both 7.x-1.x and 7.x-2.x. Thanks for the patch, Randy.