I have a site with both panel pages and none-panel pages. The latter worked fine in the preview but the panel pages kept loading the saved version of the nodes.

I followed the trail all the way to the entity rendering function and it seemed to load the entity from the nid instead of using the preview created by pagepreview.

The patch may not be the most elegant solution for detecting that we are on a preview page and such, but it seems to be working.

CommentFileSizeAuthor
#1 hook_entity_load-2150619-1.patch879 byteskristougher

Comments

kristougher’s picture

Issue summary: View changes
StatusFileSize
new879 bytes
kristougher’s picture

Issue summary: View changes