Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

FacesContext#setViewRoot() should not clear RENDERED_RESOURCE_DEPENDENCIES during a non-@all partial request #4249

Closed
BalusC opened this issue May 21, 2017 · 0 comments
Assignees

Comments

@BalusC
Copy link
Collaborator

BalusC commented May 21, 2017

Currently, FacesContext#setViewRoot() calls RequestStateManager#clearAttributesOnChangeOfView() when a view has been changed. However, when PartialViewContext#isAjaxRequest() returns true and PartialViewContext#isRenderAll() returns false, then it should not clear context attribute RENDERED_RESOURCE_DEPENDENCIES as it will otherwise cause ResourceHandler#isResourceRendered() to falsely return false when it was true on the initial view.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant