Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1963

Wicket UI: IllegalArgumentExceptions after persistent field update using AJAX

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Workaround
    • Affects Version/s: 2.0.0-M1
    • Fix Version/s: 2.0.0-M1
    • Component/s: Isis Viewer Wicket
    • Labels:
      None

      Description

      Possibly related to the latest Isis upgrade using Wicket 8 instead of 7.9.

       java.lang.IllegalArgumentException
      Cannot update component because its page is not the same as the one this handler has been created for. Component: [PropertyEditForm [Component id = inputForm]]
      org.apache.wicket.ajax.AjaxRequestHandler#add(AjaxRequestHandler.java:245)
      org.apache.isis.viewer.wicket.ui.panels.PromptFormAbstract#onOkSubmittedOf(PromptFormAbstract.java:239)
      org.apache.isis.viewer.wicket.ui.panels.PromptFormAbstract#access$0(PromptFormAbstract.java:223)
      org.apache.isis.viewer.wicket.ui.panels.PromptFormAbstract$1#onSubmit(PromptFormAbstract.java:123)
      org.apache.wicket.ajax.markup.html.form.AjaxButton$1#onSubmit(AjaxButton.java:113)
      org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$AjaxFormSubmitter#onSubmit(AjaxFormSubmitBehavior.java:223)
      org.apache.wicket.markup.html.form.Form#delegateSubmit(Form.java:1271)
      org.apache.wicket.markup.html.form.Form#process(Form.java:964)
      org.apache.isis.viewer.wicket.ui.panels.FormAbstract#process(FormAbstract.java:77)
      org.apache.wicket.markup.html.form.Form#onFormSubmitted(Form.java:788)
      org.apache.wicket.ajax.form.AjaxFormSubmitBehavior#onEvent(AjaxFormSubmitBehavior.java:176)
      org.apache.wicket.ajax.AjaxEventBehavior#respond(AjaxEventBehavior.java:127)
      org.apache.wicket.ajax.AbstractDefaultAjaxBehavior#onRequest(AbstractDefaultAjaxBehavior.java:598)
      org.apache.wicket.core.request.handler.ListenerRequestHandler#internalInvoke(ListenerRequestHandler.java:306)
      org.apache.wicket.core.request.handler.ListenerRequestHandler#invoke(ListenerRequestHandler.java:280)
      org.apache.wicket.core.request.handler.ListenerRequestHandler#invokeListener(ListenerRequestHandler.java:222)
      org.apache.wicket.core.request.handler.ListenerRequestHandler#respond(ListenerRequestHandler.java:208)
      org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor#respond(RequestCycle.java:912)
      org.apache.wicket.request.RequestHandlerExecutor#execute(RequestHandlerExecutor.java:65) 
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hobrom Andi Huber
                Reporter:
                hobrom Andi Huber
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: