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
public class AppControllerConfig extends AbstractControllerConfig {
public void init(AppContext context) {
add(new CatchAllFilter());
add(new AuthenticationFilter()).excludeActions("login");
add(new DBConnectionFilter("default", true)).to(ApiController.class, EarlyAccessController.class);
}
}
The line add(new AuthenticationFilter()).excludeActions("login"); is not allowed, and the exception is:
java.lang.IllegalArgumentException: controller classes not provided. Please call 'to(controllers)' before 'exceptAction(actions)'
However, this exception is swallowed, and no filters are added to the config
The text was updated successfully, but these errors were encountered:
ipolevoy
changed the title
ActiveWeb: RequestDispatched swallows exception with message if AppConfig is misconfigured
ActiveWeb: RequestDispatcher swallows exception with message if AppConfig is misconfigured
Dec 18, 2019
Example:
The line
add(new AuthenticationFilter()).excludeActions("login");
is not allowed, and the exception is:java.lang.IllegalArgumentException: controller classes not provided. Please call 'to(controllers)' before 'exceptAction(actions)'
However, this exception is swallowed, and no filters are added to the config
The text was updated successfully, but these errors were encountered: