In the Webapps, I cannot include new Plugins using a JAR

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.15.0
    • Affects Version/s: 7.15.0-alpha5
    • Component/s: webapp

      Environment (Required on creation):

      • Webapps 7.14.4 or newer

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

      Steps to reproduce (Required on creation):

      • Build the linked repo
      • Include it to the webapp
      • Open Cockpit

      Observed Behavior (Required on creation):

      • The Plugin is not shown
      • An error is displayed in the console: Cannot find module: '....'

      Expected behavior (Required on creation):

      • The Plugin Works

      Root Cause (Required on prioritization):

      The browserify import is used: https://github.com/camunda/camunda-bpm-platform/blob/a5bbf421d82035db41de9e938444a026ad597888/webapps/ui/common/scripts/services/plugins/loadPlugins.js#L60

      Solution Ideas (Optional):

      Replace it with the cached dynamic import window._import

      Hints (Optional):

        This is the controller panel for Smart Panels app

              Assignee:
              Hariharan Parasuraman
              Reporter:
              Martin Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: