Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-4270

WCM (Alfresco Explorer) - delete form - submit fails (with FormNotFoundException) if form has been deleted

    Details

    • Bug Priority:
      Category 3
    • Testcase ID:
      Hide

      WCM-819

      Show
      WCM-819

      Description

      Steps:
      1. Login to Alfresco Explorer as admin
      2. Create web form "simple-test" in Data Dictionary -> Web Forms (eg. using unit test examples: simple-test.xsd -> simple-test.xlst)
      3. Create web project "test" and add form "simple-test" with rend
      4. In admin sandbox, create content using "simple-test"
      5. Navigate to Data Dictionary and delete "simple-test" web form
      6. Navigate back to admin sandbox and try to submit the modified items - ie. click on "Submit All"

      Submit Dialog fails with:

      Stacktrace:
      caused by:
      org.apache.jasper.JasperException: javax.faces.el.EvaluationException: Cannot get value for expression '#

      {DialogManager.bean.workflowListSize != 0 && DialogManager.bean.linkValidationEnabled == true}'
      caused by:
      javax.faces.el.EvaluationException: Cannot get value for expression '#{DialogManager.bean.workflowListSize != 0 && DialogManager.bean.linkValidationEnabled == true}

      '
      caused by:
      javax.faces.el.EvaluationException: Exception getting value of property workflowListSize of base of type : org.alfresco.web.bean.wcm.SubmitDialog
      caused by:
      javax.faces.el.EvaluationException: Bean: org.alfresco.web.bean.wcm.SubmitDialog, property: workflowListSize
      caused by:
      java.lang.reflect.InvocationTargetException
      caused by:
      java.lang.ClassCastException: org.alfresco.web.forms.FormNotFoundException

      ....

      Caused by: javax.faces.el.EvaluationException: Bean: org.alfresco.web.bean.wcm.SubmitDialog, property: workflowListSize
      at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:461)
      at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:85)
      ... 75 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.GeneratedMethodAccessor1118.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:592)
      at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:457)
      ... 76 more
      Caused by: java.lang.ClassCastException: org.alfresco.web.forms.FormNotFoundException
      at org.alfresco.web.bean.wcm.SubmitDialog.calcluateListItemsAndWorkflows(SubmitDialog.java:821)
      at org.alfresco.web.bean.wcm.SubmitDialog.getWorkflowList(SubmitDialog.java:554)
      at org.alfresco.web.bean.wcm.SubmitDialog.getWorkflowListSize(SubmitDialog.java:630)
      ... 80 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                jvonka Jan Vonka
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: