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

Stunner - Diagram Editor/Viewer components are not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • Designer
    • NEW
    • NEW
      1. Run the Stunner's standalone showcase
      2. On the home page just click on View evaluation2 o Edit evaluation2
      3. An error popup appears

    Description

      The Diagram Viewer & Diagram Editor widgets are not working, once trying to open some diagram instance an error popup appears.

      NOTE: Set minor priority due to Diagram Editor/Viewer components are not being used on the workbench editors for processes. The wb editors are using Session Editor/Viewers, which are actually not causing issues

      First issue analysis
      See method getPreferences(diagram) in AbstractDiagramViewer class - it relies on having the preferences set in the preferences registry, otherwise it returns null.
      On the other hand, the preferences are actually only set in the preferences registry by the SessionLoader, which is not a valid actor when using the Diagram Viewer/Editor widget, as no session is currently active / present for it.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: