Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1096

Error setting a non default workItem edit dialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0 RC4
    • 3.0 RC3
    • workflow
    • None
    • Windows XP, Java1.5.0_08,Firefox1.5.0.07

    Description

      Assigning a different edit dialog for my workflow setting an attribute in my workitem with value WorkflowConstants.ATTRIBUTE_EDIT_DIALOG result in the followign exception


      java.lang.ClassCastException: openwfe.org.engine.workitem.StringAttribute
      at info.magnolia.module.workflow.inbox.Inbox$1.onSelect(Inbox.java:102)


      The following piece fail due to on incoming StringAttribute value where expected String

      String editDialog = StringUtils.defaultIfEmpty((String) list
      .getIteratorValue(WorkflowConstants.ATTRIBUTE_EDIT_DIALOG), WorkflowConstants.DEFAULT_EDIT_DIALOG);

      Filippo

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgiust Fabrizio Giustina
              filippo_fratoni Filippo Fratoni
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD