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

Stunner - Documentation page produces an error when a process with a UserTask is being opened

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.18.0.Final
    • 7.17.0.Final
    • Designer
    • NEW
    • NEW
    • Hide

      1) use the last codes in master that includes the documentation feature
      2) create a hello world process that has a UserTask, e.g.
      StartEvent -> UserTask -> EndEvent
      3) save the process
      4) open the process. The exception above will be produced.

      On the other hand if we use a hello world process with another taks, like the NoneTask, no exception is produced.
      StartEvent -> NoneTask -> EndEvent

      As a quick test it was verified that if we comment the documentation page adding, in the class AbstractProjectDiagramEditor, the error is not produced any more.

      protected void initialiseKieEditorForSession(final ProjectDiagram diagram)

      { resetEditorPages(diagram.getMetadata().getOverview()); updateTitle(diagram.getMetadata().getTitle()); // comment this line -> addDocumentationPage(diagram); setOriginalHash(getCurrentDiagramHash()); hideLoadingViews(); onDiagramLoad(); }
      Show
      1) use the last codes in master that includes the documentation feature 2) create a hello world process that has a UserTask, e.g. StartEvent -> UserTask -> EndEvent 3) save the process 4) open the process. The exception above will be produced. On the other hand if we use a hello world process with another taks, like the NoneTask, no exception is produced. StartEvent -> NoneTask -> EndEvent As a quick test it was verified that if we comment the documentation page adding, in the class AbstractProjectDiagramEditor, the error is not produced any more. protected void initialiseKieEditorForSession(final ProjectDiagram diagram) { resetEditorPages(diagram.getMetadata().getOverview()); updateTitle(diagram.getMetadata().getTitle()); // comment this line -> addDocumentationPage(diagram); setOriginalHash(getCurrentDiagramHash()); hideLoadingViews(); onDiagramLoad(); }
    • 2019 Week 02-04, 2019 Week 05-07, 2019 Week 08-10

      When we open a process with a UserTask, the following exception is produced:

      {"ToSubject":"org.kie.workbench.common.stunner.bpmn.workitem.service.WorkItemDefinitionLookupService:RPC.execute:org.kie.workbench.common.stunner.core.diagram.Metadata::126:RespondTo:RPC"}

      | Uncaught exception: Client-side exception occurred although RPC call succeeded. Caused by: Can't assign multiple values to the same key

              tdolphin-1 Tiago Dolphine (Inactive)
              wmedvede@redhat.com Walter Medvedeo
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: