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

Docks aren't properly defined on stunner editor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.Final
    • 7.1.0.Final
    • Designer
    • NEW
    • NEW

      Working on https://issues.jboss.org/browse/GUVNOR-3273 I found a issue related with the way that stunner editors handle docks. They are never displayed.

      I did some research and found that is missing a call somewhere for https://github.com/ederign/kie-wb-common/blob/d79d2bb29127f78b427f73c8d94c6e13d051e8ae/kie-wb-common-stunner/kie-wb-common-stunner-extensions/kie-wb-common-stunner-project/kie-wb-common-stunner-project-client/src/main/java/org/kie/workbench/common/stunner/project/client/screens/ProjectDiagramWorkbenchDocks.java#L57-L57

      Like here on stunner showcase
      https://github.com/ederign/kie-wb-common/blob/0e910455e513daa39e5c3aa1815c0122125812b8/kie-wb-common-stunner/kie-wb-common-stunner-showcase/kie-wb-common-stunner-showcase-project/src/main/java/org/kie/workbench/common/stunner/project/client/perspectives/HomePerspective.java#L101

      Some screenshots that can help you guys debug this: (perspective id is null, making the docks never show it)

      Also, take a look on AuthoringDocks and LibraryPlaces that is handling the docks for the Library.
      That is probably the place where ProjectDiagramWorkbenchDocks needs to be integrated.

        1. image-2017-07-12-10-32-49-025.png
          212 kB
          Eder Ignatowicz
        2. image-2017-07-12-10-33-11-768.png
          153 kB
          Eder Ignatowicz
        3. image-2017-07-12-10-35-36-918.png
          8 kB
          Eder Ignatowicz

              rh-ee-pefernan Pere Fernandez Perez
              eignatow Eder Ignatowicz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: