Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9603

Stunner - Different content in WID files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.50.0.Final
    • Designer
    • False
    • False
    • NEW
    • NEW
    • Undefined
    • Hide
      1. Create a Case project.
      2. Create a Case definition and close it.
      3. Go to project, open and delete WorkDefinitions.wid.
      4. Open previously closed Case definition.
      5. Navigate to project and open new generated WorkDefinitions.wid.

      Actual result

      The content of WID is not the same.

      Expected result

      The content of WID is the same.

      Show
      Create a Case project. Create a Case definition and close it. Go to project, open and delete WorkDefinitions.wid. Open previously closed Case definition. Navigate to project and open new generated WorkDefinitions.wid. Actual result The content of WID is not the same. Expected result The content of WID is the same.
    • ---
    • ---

      If the WorkDefinitions.wid file is deleted manually, after opening already exiting process/case or creating a new process/case, a new WID file is created but its content is different from the initial WorkDefinitions.wid file. If you delete also this WID file, a new WID file is never created.

      First WorkDefinitions.wid:

      [
          [
              "name" : "Email",
              "displayName" : "Email",
              "category" : "jbpm-workitems-email",
              "description" : "",
              "defaultHandler" : "mvel: new org.jbpm.process.workitem.email.EmailWorkItemHandler()",
              "documentation" : "jbpm-workitems-email/index.html",
              "icon" : "defaultemailicon.png",
      
              "parameters" : [
                  "Reply-To" : new StringDataType(),
                  "Cc" : new StringDataType(),
                  "Bcc" : new StringDataType(),
                  "From" : new StringDataType(),
                  "To" : new StringDataType(),
                  "Body" : new StringDataType(),
                  "Attachments" : new StringDataType(),
                  "Subject" : new StringDataType(),
                  "Debug" : new StringDataType(),
                  "Template" : new StringDataType()
              ]
          ],
      
          [
              "name" : "Log",
              "displayName" : "Log",
              "icon" : "defaultlogicon.gif",
      
              "parameters" : [
                "Message" : new StringDataType()
              ]
          ],
      
          [
              "name" : "WebService",
              "displayName" : "WebService",
              "category" : "jbpm-workitems-webservice",
              "description" : "",
              "defaultHandler" : "mvel: new org.jbpm.process.workitem.webservice.WebServiceWorkItemHandler()",
              "documentation" : "jbpm-workitems-webservice/index.html",
              "icon" : "defaultservicenodeicon.png",
      
              "parameters" : [
                  "Endpoint" : new StringDataType(),
                  "Mode" : new StringDataType(),
                  "Parameter" : new StringDataType(),
                  "Operation" : new StringDataType(),
                  "Url" : new StringDataType(),
                  "Namespace" : new StringDataType(),
                  "Interface" : new StringDataType()
              ],
              "results" : [
                   "Result" : new StringDataType()
              ]
          ],
      
          [
              "name" : "Rest",
              "displayName" : "Rest",
              "category" : "jbpm-workitems-rest",
              "description" : "",
              "defaultHandler" : "mvel: new org.jbpm.process.workitem.rest.RESTWorkItemHandler()",
              "documentation" : "jbpm-workitems-rest/index.html",
              "icon" : "defaultservicenodeicon.png",
      
              "parameters" : [
                  "ConnectTimeout" : new StringDataType(),
                  "ResultClass" : new StringDataType(),
                  "ContentType" : new StringDataType(),
                  "AcceptCharset" : new StringDataType(),
                  "Headers" : new StringDataType(),
                  "AuthUrl" : new StringDataType(),
                  "Method" : new StringDataType(),
                  "ReadTimeout" : new StringDataType(),
                  "Url" : new StringDataType(),
                  "ContentTypeCharset" : new StringDataType(),
                  "HandleResponseErrors" : new StringDataType(),
                  "ContentData" : new StringDataType(),
                  "Username" : new StringDataType(),
                  "Content" : new StringDataType(),
                  "AcceptHeader" : new StringDataType(),
                  "AuthType" : new StringDataType(),
                  "Password" : new StringDataType()
              ],
              "results" : [
                  "Result" : new StringDataType()
              ]
          ],
      
          [
              "name" : "Milestone",
              "displayName" : "Milestone",
              "category" : "Milestone",
              "icon" : "defaultmilestoneicon.png",
      
              "parameters" : [
                  "Condition" : new StringDataType()
              ]
          ],
      
          [
              "name" : "StartCaseInstance",
              "parameters" : [
                  "DeploymentId" : new StringDataType(),
                  "CaseDefinitionId" : new StringDataType(),
                  "Data_" : new StringDataType(),
                  "UserRole_" : new StringDataType(),
                  "GroupRole_" : new StringDataType(),
                  "DataAccess_" : new StringDataType(),
                  "Independent" : new StringDataType(),
                  "DestroyOnAbort" : new StringDataType()
              ],
              "results" : [
                  "CaseId" : new StringDataType(),
              ],
              "displayName" : "Sub Case",
              "icon" : "defaultservicenodeicon.png",
              "category" : "Cases"
          ]
      ]
      
      

      Second WorkDefinitions.wid:

      [
          [
              "name" : "BusinessRuleTask",
              "displayName" : "BusinessRuleTask",
              "category" : "jbpm-workitems-bpmn2",
              "description" : "",
              "defaultHandler" : "mvel: new org.jbpm.process.workitem.bpmn2.BusinessRuleTaskHandler()",
              "documentation" : "jbpm-workitems-bpmn2/index.html",
              "icon" : "BusinessRuleTask.png",
      
              "parameters" : [
                  "KieSessionName" : new StringDataType(),
                  "KieSessionType" : new StringDataType()
              ]
          ],
      
          [
              "name" : "DecisionTask",
              "displayName" : "Decision Task",
              "category" : "jbpm-workitems-bpmn2",
              "description" : "",
              "defaultHandler" : "mvel: new org.jbpm.process.workitem.bpmn2.DecisionTaskHandler()",
              "documentation" : "jbpm-workitems-bpmn2/index.html",
              "icon" : "DecisionTask.png",
      
              "parameters" : [
                  "Model" : new StringDataType(),
                  "Namespace" : new StringDataType(),
                  "Decision" : new StringDataType()
              ]
          ],
      
          [
              "name" : "Email",
              "displayName" : "Email",
              "category" : "jbpm-workitems-email",
              "description" : "",
              "defaultHandler" : "mvel: new org.jbpm.process.workitem.email.EmailWorkItemHandler()",
              "documentation" : "jbpm-workitems-email/index.html",
              "icon" : "Email.png",
      
              "parameters" : [
                  "Reply-To" : new StringDataType(),
                  "Cc" : new StringDataType(),
                  "Bcc" : new StringDataType(),
                  "From" : new StringDataType(),
                  "To" : new StringDataType(),
                  "Body" : new StringDataType(),
                  "Attachments" : new StringDataType(),
                  "Subject" : new StringDataType(),
                  "Debug" : new StringDataType(),
                  "Template" : new StringDataType()
              ]
          ],
      
          [
              "name" : "Rest",
              "displayName" : "Rest",
              "category" : "jbpm-workitems-rest",
              "description" : "",
              "defaultHandler" : "mvel: new org.jbpm.process.workitem.rest.RESTWorkItemHandler()",
              "documentation" : "jbpm-workitems-rest/index.html",
              "icon" : "Rest.png",
      
              "parameters" : [
                  "ConnectTimeout" : new StringDataType(),
                  "ResultClass" : new StringDataType(),
                  "ContentType" : new StringDataType(),
                  "AcceptCharset" : new StringDataType(),
                  "Headers" : new StringDataType(),
                  "AuthUrl" : new StringDataType(),
                  "Method" : new StringDataType(),
                  "ReadTimeout" : new StringDataType(),
                  "Url" : new StringDataType(),
                  "ContentTypeCharset" : new StringDataType(),
                  "HandleResponseErrors" : new StringDataType(),
                  "ContentData" : new StringDataType(),
                  "Username" : new StringDataType(),
                  "Content" : new StringDataType(),
                  "AcceptHeader" : new StringDataType(),
                  "AuthType" : new StringDataType(),
                  "Password" : new StringDataType()
              ],
              "results" : [
                  "Result" : new StringDataType()
              ]
          ],
      
          [
              "name" : "WebService",
              "displayName" : "WebService",
              "category" : "jbpm-workitems-webservice",
              "description" : "",
              "defaultHandler" : "mvel: new org.jbpm.process.workitem.webservice.WebServiceWorkItemHandler()",
              "documentation" : "jbpm-workitems-webservice/index.html",
              "icon" : "WebService.png",
      
              "parameters" : [
                  "Endpoint" : new StringDataType(),
                  "Mode" : new StringDataType(),
                  "Parameter" : new StringDataType(),
                  "Operation" : new StringDataType(),
                  "Url" : new StringDataType(),
                  "Namespace" : new StringDataType(),
                  "Interface" : new StringDataType()
              ],
              "results" : [
                   "Result" : new StringDataType()
              ]
          ],
      
          [
              "name" : "Log",
              "displayName" : "Log",
              "icon" : "defaultlogicon.gif",
      
              "parameters" : [
                "Message" : new StringDataType()
              ]
          ],
      
          [
              "name" : "Milestone",
              "displayName" : "Milestone",
              "category" : "Milestone",
              "icon" : "defaultmilestoneicon.png",
      
              "parameters" : [
                  "Condition" : new StringDataType()
              ]
          ]
      ]
      
      

            romartin@redhat.com Roger Martinez
            lterifaj@redhat.com Lubomir Terifaj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: