Event data not available

Issue information

From user: lammensj

Related to !486 (merged)

Contribution record

Fork management

Problem/Motivation

When rendering a View and acting upon the pre-build or pre-execute events, the data of the second is not available.

Steps to reproduce

Use the exported model, see attachment.
Look at the added screenshots (from the logs):
- The red square is wrong, it's showing data from an initial render-event. I believe it prevents the data from the Views-event being present in that scope.
- The green square is correct/what I would expect.

Now that I'm typing this, and reading the docs, could it have something to do with the fact that the second event is a result of an action in another event? Because the green square is the result of that pre-build event being triggered via an ajax call (pagination), the other event of that model is not fired.
See addition screenshot for model outline.

Proposed resolution

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information