Skip to content

Commit

Permalink
[#2170] Action context access from error templates (#1230)
Browse files Browse the repository at this point in the history
* upgraded javassist to 3.23.1-GA to suppress warning with JDK9+
* Fix public/protected testing with Javassist, by removing the workaround that was fixed in latest version of javassist
* [#2170] Restored action context initialisation during action resolution phase
  • Loading branch information
sant0s authored and xael-fry committed Aug 23, 2018
1 parent 8938c6b commit 7d7a73e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/src/play/mvc/ActionInvoker.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ public static void resolve(Http.Request request) {
return;
}

initActionContext(request, Http.Response.current.get());

// Route and resolve format if not already done
if (request.action == null) {
Play.pluginCollection.routeRequest(request);
Expand Down

0 comments on commit 7d7a73e

Please sign in to comment.