Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-14858

In Cockpit, DMN diagrams are not or partially not rendered

      Environment (Required on creation):

      Camunda Automation Platform 7.15.17, 7.16.11, 7.17.4, 7.18.0-SNAPSHOT

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      In Cockpit, DMN diagrams are not or partially not rendered.

      Steps to reproduce (Required on creation):

      • Open Cockpit
      • Open a decision definition or a decision requirements definition.

      Observed Behavior (Required on creation):

      • Decision tables are not rendered.
      • DRDs are partially not rendered.

      Expected behavior (Required on creation):

      All DMN-related diagrams are rendered correctly.

      Root Cause (Required on prioritization):

      With CAM-14493, some third-party libraries were moved to the deps.js file where they are supposed to go, including the transitive package dmn-moddle. Without defining dmn-moddle explicitly, it is bundled twice into the deps.js since it is required twice. When defining it explicitly, it will only be bundled once, which causes the error.

      Solution Ideas (Optional):

      Revert bundling dmn-moddle into deps.js.

      Hints (optional):

      -

        This is the controller panel for Smart Panels app

            [CAM-14858] In Cockpit, DMN diagrams are not or partially not rendered

            Tassilo Weidner created issue -
            Tassilo Weidner made changes -
            Description Original: h3. Environment (Required on creation):
                
             
                h3. Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):
             
                h3. Steps to reproduce (Required on creation):
                
                h3. Observed Behavior (Required on creation):
                
                h3. Expected behavior (Required on creation):
                
                h3. Root Cause (Required on prioritization):
                
                h3. Solution Ideas (Optional):
                
                h3. Hints (optional):
            New: h3. Environment (Required on creation):

            Camunda Automation Platform 7.15.17, 7.16.11, 7.17.4, 7.18.0-SNAPSHOT

            h3. Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

            In Cockpit, DMN diagrams are not or partially not rendered.

            h3. Steps to reproduce (Required on creation):

            * Open Cockpit
            * Open a decision definition or a decision requirements decision

            h3. Observed Behavior (Required on creation):

            * Decision tables are not rendered.
            * DRDs are partially not rendered.

            h3. Expected behavior (Required on creation):

            All DMN-related diagrams are rendered correctly.

            h3. Root Cause (Required on prioritization):

            With CAM-14493, some third-party libraries were moved to the {{deps.js}} file where they are supposed to go, including the package {{dmn-migrate}}. {{dmn-migrate}} depends on {{dmn-moddle@8}} while the other dmn libraries depend on {{dmn-moddle@10}}. Previously, the {{deps.js}} bundled {{dmn-moddle@10}} and the bundle that included {{dmn-migrate}} bundled {{dmn-moddle@8}}. The error occurs since {{dmn-migrate}} was moved into the {{deps.js}} file where previously {{dmn-moddle@10}} was included. This leads to bundling only {{dmn-moddle@8}} into the {{deps.js}} file, which makes the other dmn libraries throw errors since they are not compatible with {{dmn-moddle@8}}.

            h3. Solution Ideas (Optional):

            # Short term: revert bundling {{dmn-migrate}} into {{deps.js}}.
            # Long term: remove {{dmn-migrate}} since it depends on an old {{moddle-xml}} version.

            h3. Hints (optional):
            -
            Summary Original: In Cockpit, DMN diagrams are not or patially not rendered New: In Cockpit, DMN diagrams are not or partially not rendered
            Tassilo Weidner made changes -
            Attachment New: Screenshot 2022-09-02 at 17.31.00.png [ 54491 ]
            Attachment New: Screenshot 2022-09-02 at 17.31.46.png [ 54492 ]
            Tassilo Weidner made changes -
            Description Original: h3. Environment (Required on creation):

            Camunda Automation Platform 7.15.17, 7.16.11, 7.17.4, 7.18.0-SNAPSHOT

            h3. Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

            In Cockpit, DMN diagrams are not or partially not rendered.

            h3. Steps to reproduce (Required on creation):

            * Open Cockpit
            * Open a decision definition or a decision requirements decision

            h3. Observed Behavior (Required on creation):

            * Decision tables are not rendered.
            * DRDs are partially not rendered.

            h3. Expected behavior (Required on creation):

            All DMN-related diagrams are rendered correctly.

            h3. Root Cause (Required on prioritization):

            With CAM-14493, some third-party libraries were moved to the {{deps.js}} file where they are supposed to go, including the package {{dmn-migrate}}. {{dmn-migrate}} depends on {{dmn-moddle@8}} while the other dmn libraries depend on {{dmn-moddle@10}}. Previously, the {{deps.js}} bundled {{dmn-moddle@10}} and the bundle that included {{dmn-migrate}} bundled {{dmn-moddle@8}}. The error occurs since {{dmn-migrate}} was moved into the {{deps.js}} file where previously {{dmn-moddle@10}} was included. This leads to bundling only {{dmn-moddle@8}} into the {{deps.js}} file, which makes the other dmn libraries throw errors since they are not compatible with {{dmn-moddle@8}}.

            h3. Solution Ideas (Optional):

            # Short term: revert bundling {{dmn-migrate}} into {{deps.js}}.
            # Long term: remove {{dmn-migrate}} since it depends on an old {{moddle-xml}} version.

            h3. Hints (optional):
            -
            New: h3. Environment (Required on creation):

            Camunda Automation Platform 7.15.17, 7.16.11, 7.17.4, 7.18.0-SNAPSHOT

            h3. Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

            In Cockpit, DMN diagrams are not or partially not rendered.

            h3. Steps to reproduce (Required on creation):

            * Open Cockpit
            * Open a decision definition or a decision requirements definition.

            h3. Observed Behavior (Required on creation):

            * Decision tables are not rendered.
            * DRDs are partially not rendered.

            h3. Expected behavior (Required on creation):

            All DMN-related diagrams are rendered correctly.

            h3. Root Cause (Required on prioritization):

            With CAM-14493, some third-party libraries were moved to the {{deps.js}} file where they are supposed to go, including the package {{dmn-migrate}}. {{dmn-migrate}} depends on {{dmn-moddle@8}} while the other dmn libraries depend on {{dmn-moddle@10}}. Previously, the {{deps.js}} bundled {{dmn-moddle@10}} and the bundle that included {{dmn-migrate}} bundled {{dmn-moddle@8}}. The error occurs since {{dmn-migrate}} was moved into the {{deps.js}} file where previously {{dmn-moddle@10}} was included. This leads to bundling only {{dmn-moddle@8}} into the {{deps.js}} file, which makes the other dmn libraries throw errors since they are not compatible with {{dmn-moddle@8}}.

            h3. Solution Ideas (Optional):

            # Short term: revert bundling {{dmn-migrate}} into {{deps.js}}.
            # Long term: remove {{dmn-migrate}} since it depends on an old {{moddle-xml}} version.

            h3. Hints (optional):
            -
            Thorben Lindhauer made changes -
            Remote Link New: This issue links to "Page (camunda confluence)" [ 17714 ]
            Tassilo Weidner made changes -
            Assignee New: Tassilo Weidner [ tassilo.weidner ]
            Tassilo Weidner made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Tassilo Weidner made changes -
            Description Original: h3. Environment (Required on creation):

            Camunda Automation Platform 7.15.17, 7.16.11, 7.17.4, 7.18.0-SNAPSHOT

            h3. Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

            In Cockpit, DMN diagrams are not or partially not rendered.

            h3. Steps to reproduce (Required on creation):

            * Open Cockpit
            * Open a decision definition or a decision requirements definition.

            h3. Observed Behavior (Required on creation):

            * Decision tables are not rendered.
            * DRDs are partially not rendered.

            h3. Expected behavior (Required on creation):

            All DMN-related diagrams are rendered correctly.

            h3. Root Cause (Required on prioritization):

            With CAM-14493, some third-party libraries were moved to the {{deps.js}} file where they are supposed to go, including the package {{dmn-migrate}}. {{dmn-migrate}} depends on {{dmn-moddle@8}} while the other dmn libraries depend on {{dmn-moddle@10}}. Previously, the {{deps.js}} bundled {{dmn-moddle@10}} and the bundle that included {{dmn-migrate}} bundled {{dmn-moddle@8}}. The error occurs since {{dmn-migrate}} was moved into the {{deps.js}} file where previously {{dmn-moddle@10}} was included. This leads to bundling only {{dmn-moddle@8}} into the {{deps.js}} file, which makes the other dmn libraries throw errors since they are not compatible with {{dmn-moddle@8}}.

            h3. Solution Ideas (Optional):

            # Short term: revert bundling {{dmn-migrate}} into {{deps.js}}.
            # Long term: remove {{dmn-migrate}} since it depends on an old {{moddle-xml}} version.

            h3. Hints (optional):
            -
            New: h3. Environment (Required on creation):

            Camunda Automation Platform 7.15.17, 7.16.11, 7.17.4, 7.18.0-SNAPSHOT

            h3. Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

            In Cockpit, DMN diagrams are not or partially not rendered.

            h3. Steps to reproduce (Required on creation):

            * Open Cockpit
            * Open a decision definition or a decision requirements definition.

            h3. Observed Behavior (Required on creation):

            * Decision tables are not rendered.
            * DRDs are partially not rendered.

            h3. Expected behavior (Required on creation):

            All DMN-related diagrams are rendered correctly.

            h3. Root Cause (Required on prioritization):

            With CAM-14493, some third-party libraries were moved to the {{deps.js}} file where they are supposed to go, including the transitive package {{dmn-moddle}}. Without defining {{dmn-moddle}} explicitly, it is bundled twice into the {{deps.js}} since it is required twice. When defining it explicitly, it will only be bundled once, which causes the error.

            h3. Solution Ideas (Optional):

            Revert bundling {{dmn-moddle}} into {{deps.js}}.

            h3. Hints (optional):
            -
            Tassilo Weidner made changes -
            DRI New: Tassilo Weidner [ tassilo.weidner ]
            Tassilo Weidner made changes -
            Fix Version/s New: 7.17.5 [ 17805 ]
            Fix Version/s New: 7.16.12 [ 17806 ]
            Fix Version/s New: 7.15.18 [ 17807 ]
            Fix Version/s Original: 7.15.x [ 16600 ]
            Fix Version/s Original: 7.16.x [ 16897 ]
            Fix Version/s Original: 7.17.x [ 17395 ]
            Tassilo Weidner made changes -
            Assignee Original: Tassilo Weidner [ tassilo.weidner ] New: Daniel Kelemen [ daniel.kelemen ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            Remaining Estimate New: 0 minutes [ 0 ]
            Original Estimate New: 0 minutes [ 0 ]

              michael.schoettes Michael Schoettes
              tassilo.weidner Tassilo Weidner
              Tassilo Weidner Tassilo Weidner
              Daniel Kelemen Daniel Kelemen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: