Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-7357

Regression: Exception on creating new document type when folder is not selected

    XMLWordPrintable

Details

    Description

      Steps to reproduce:
      1) Go to Documents/Configuration
      2) Click on hippo:namespaces
      3) Open the context menu from hippogreen en select 'New document type'
      4) Fill in a name and 2 Column
      5) Click finish
      Expected: New document type saved
      Actual: Error in console. Form does not close

      [INFO] [talledLocalContainer] 10.09.2013 14:27:48 ERROR [org.apache.wicket.DefaultExceptionMapper.internalMap():123] Unexpected error occurred
      [INFO] [talledLocalContainer] org.apache.wicket.WicketRuntimeException: No Page found for component [FeedbackPanel [Component id = feedback]]
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.getPage(Component.java:1734)
      [INFO] [talledLocalContainer] at org.apache.wicket.feedback.FeedbackMessagesModel.collectMessages(FeedbackMessagesModel.java:132)
      [INFO] [talledLocalContainer] at org.apache.wicket.feedback.FeedbackMessagesModel.getObject(FeedbackMessagesModel.java:104)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.dialog.AbstractWizard.hasError(AbstractWizard.java:129)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.dialog.AbstractWizard.onFinish(AbstractWizard.java:122)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.editor.workflow.dialog.CreateTypeDialog.onFinish(CreateTypeDialog.java:67)
      [INFO] [talledLocalContainer] at org.apache.wicket.extensions.wizard.AbstractWizardModel.fireWizardFinished(AbstractWizardModel.java:182)
      [INFO] [talledLocalContainer] at org.apache.wicket.extensions.wizard.AbstractWizardModel.finish(AbstractWizardModel.java:88)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.standards.wizard.AjaxWizardButtonBar$FinishButton.onClick(AjaxWizardButtonBar.java:141)
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.standards.wizard.AjaxWizardButton.onSubmit(AjaxWizardButton.java:52)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:108)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$1.onSubmit(AjaxFormSubmitBehavior.java:179)
      [INFO] [talledLocalContainer] at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1253)
      [INFO] [talledLocalContainer] at org.apache.wicket.markup.html.form.Form.process(Form.java:925)
      [INFO] [talledLocalContainer] at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:771)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:156)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:123)
      [INFO] [talledLocalContainer] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:626)
      [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
      [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:606)
      [INFO] [talledLocalContainer] at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
      [INFO] [talledLocalContainer] at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
      [INFO] [talledLocalContainer] at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.jav

      [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:724)
      [INFO] [talledLocalContainer] 10.09.2013 14:28:39 ERROR [org.apache.wicket.DefaultExceptionMapper.internalMap():123] Unexpected error occurred
      [INFO] [talledLocalContainer] org.apache.wicket.core.request.handler.ComponentNotFoundException: Could not find component 'dialog:content:form:buttons:cancel' on page 'class org.hippoecm.frontend.PluginPage
      [INFO] [talledLocalContainer] at org.apache.wicket.core.request.handler.PageAndComponentProvider.getComponent(PageAndComponentProvider.java:182)
      [INFO] [talledLocalContainer] at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.getComponent(ListenerInterfaceRequestHandler.java:90)

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              abanck Arent-Jan Banck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: