Hi,

in execute(), there is no "is_cacheable()" condition yet. I don't really know if it is a fail of entityreference module by calling display_execute, or a logical bug in views. But the fact is, though the $view->is_cacheable is false, after you call display_execute, the cached view will be returned.

Files: 
CommentFileSizeAuthor
#1 2116737-1-Check_if_view_is_cacheable_in_execute.patch387 bytesdropfen
FAILED: [[SimpleTest]]: [MySQL] 1,625 pass(es), 2 fail(s), and 208 exception(s).
[ View ]

Comments

dropfen’s picture

Status:Active» Needs review
StatusFileSize
new387 bytes
FAILED: [[SimpleTest]]: [MySQL] 1,625 pass(es), 2 fail(s), and 208 exception(s).
[ View ]

here's the patch...

Status:Needs review» Needs work

The last submitted patch, 2116737-1-Check_if_view_is_cacheable_in_execute.patch, failed testing.

dropfen’s picture

So it seems like this property doesn't have a default value...

I think this is a bug, so is there another solution to make sure the view is not going to serve from cache?