OpenFaces icon indicating copy to clipboard operation
OpenFaces copied to clipboard

SM OR - ThreadLocal constructingView not reverted when super.publishEvent throws an error

Open Adam-1 opened this issue 8 years ago • 1 comments

When OpenFacesApplication.publishEvent delegate the call to the super class and an Exception is thrown somewhere along the stack then the value of the ThreadLocal constructingView is not reverted and stays with the same value for any subsequent request on the same thread.

To resolve this issue the call to super should be placed in a try/catch block.

Adam-1 avatar Sep 08 '16 11:09 Adam-1