[drupal-devel] [bug] node_load, missing drupal_unpack leaves fields serialized
Issue status update for http://drupal.org/node/31691 Post a follow up: http://drupal.org/project/comments/add/31691 Project: Drupal Version: cvs Component: node.module Category: bug reports Priority: normal Assigned to: Anonymous Reported by: syllance Updated by: syllance Status: patch (code needs review) Attachment: http://drupal.org/files/issues/node_load-unpackfix.patch (855 bytes) node_load function in node.module does not call drupal_unpack after retrieving node and author user informations. author user 'data' field is thus still serialized, and author prefs cannot be accessed as usual. this leads to issues on modules using node's author 'data' fields (link hook in privatemsg, which access author prefs to display link or not). the drupal_unpack is done in 4.6, but not in head, and this is not described as a change on the update module handbook page, so i'm submitting this potential issue. patch to add the missing call is attached (this fixes the issue with privatemsg link hook). please review and apply the patch if necessary. syllance
participants (1)
-
syllance