Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-4772

Fix WID in kie-editors-standalone tests

    XMLWordPrintable

Details

    • False
    • False
    • Undefined

    Description

      With latest versions of editors, the test @kogito-tooling/kie-editors-standalone.Bpmn Workitem.Test Open Editor With Custom Workitem started to fail.

      The cause is the WID file itself, simple fix is to remove import statements from the upper part of the file.

      import org.drools.core.process.core.datatype.impl.type.StringDataType;
      import org.drools.core.process.core.datatype.impl.type.ObjectDataType;
      
      [
        [
          "name" : "CreateCustomer",
          "parameters" : [
      	"in_customer_id" : new StringDataType()	
          ],
          "displayName" : "Create Customer",
          "icon" : "defaultemailicon.gif"
        ]
      ]
      

      Attachments

        Activity

          People

            jstastny@redhat.com Jan Stastny
            jstastny@redhat.com Jan Stastny
            Dominik Hanak Dominik Hanak
            Dominik Hanak Dominik Hanak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: