Hi Martin, Hmm, thanks for this... I've reproduced it on -SNAPSHOT with simpleapp.
I've raised a ticket to look into [1] Thx Dan [1] https://issues.apache.org/jira/browse/ISIS-1803 On Tue, 26 Dec 2017 at 07:00 Martin Hesse <[email protected]> wrote: > Hi, > > When canceling a prompt dialogue (created by an action of an entity view) > by pressing the escape key or the cancel button and then pressing the > escape key again after the prompt dialogue closed will show an error page > and log the below exception. > > This doesn't happen when the dialogue is closed by clicking on the close > icon (X). > It also doesn't happen for prompt dialogues created by menu actions. > > I discovered this by being a bit nervous on the escape key (press twice to > cancel prompt), and then realized the clicking speed doesn't matter. The > behavior is also reproducible by waiting for the prompt to close and then > pressing escape a few seconds later. > > Apache isis version is 1.15.1. > > n.b.: just migrated a project from 1.14.0 to 1.15.1, after which the > described behavior could be observed. Did I miss anything while migrating? > > 11:42:19,953 [RequestCycleExtra qtp1018937824-158 WARN ] > ******************************** > 11:42:19,953 [RequestCycleExtra qtp1018937824-158 WARN ] Handling the > following exception > > org.apache.wicket.core.request.handler.ListenerInvocationNotAllowedException: > Behavior rejected interface invocation. Component: [AjaxButton [Component > id = cancelButton]] Behavior: > org.apache.isis.viewer.wicket.ui.panels.PromptFormAbstract$4@69e0a92a > Listener: [RequestListenerInterface name=IBehaviorListener, method=public > abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] > at > > org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:237) > at > > org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:248) > at > > org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234) > at > > org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895) > at > > org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) > at > org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265) > at > > org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222) > at > > org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293) > at > > org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261) > at > > org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203) > at > > org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284) > at > > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1621) > at > > org.apache.isis.core.webapp.diagnostics.IsisLogOnExceptionFilter.doFilter(IsisLogOnExceptionFilter.java:52) > at > > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1621) > [....] > at java.lang.Thread.run(Thread.java:745) > > > Thanks and regards > Martin >
