You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The solution might require a PageRenderRequestFilter to be contributed to the start of the PageRenderRequestHandler pipeline. The filter will set a thread local for the page activation context (very similar to RequestGlobals).
The text was updated successfully, but these errors were encountered:
PushManagerImpl always passes EMPTY_EVENT_CONTEXT as the page activation context for push events
@see https://github.com/uklance/tapestry-cometd/blob/master/src/main/java/org/lazan/t5/cometd/services/internal/PushManagerImpl.java#L60
To fix this, PushTarget needs to be changed to add the page activation context in getInitData() (https://github.com/uklance/tapestry-cometd/blob/master/src/main/java/org/lazan/t5/cometd/components/PushTarget.java#L109).
The page activation context will need to be added to the ClientContext in AuthorizersImpl.getClientContext() (https://github.com/uklance/tapestry-cometd/blob/master/src/main/java/org/lazan/t5/cometd/services/internal/AuthorizersImpl.java#L74)
The solution might require a PageRenderRequestFilter to be contributed to the start of the PageRenderRequestHandler pipeline. The filter will set a thread local for the page activation context (very similar to RequestGlobals).
The text was updated successfully, but these errors were encountered: