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

Cannot login into Cockpit, when providing any moddle extensions in config.js

    Details

      Description

      Steps to reproduce:

      1. Download a Camunda Distribution containing Tomcat
      2. Modify config.js resides in ${PATH_TO_TOMCAT}/webapps/camunda/app/cockpit/scripts, so that it looks like
        window.camCockpitConf = {
          bpmnJs: {
            moddleExtensions: {
              camunda: 'scripts/camunda'
            }
          }
        };
        
      3. Move camunda.json into ${PATH_TO_TOMCAT}/webapps/camunda/app/cockpit/scripts
      4. Start Camunda Distribution
      5. Open in browser http://localhost:8080/camunda/app/cockpit/default/

      Expected Behavior:
      The login page is shown, so that a user can login into Cockpit.

      Observed Behavior:

      • The loading indicator does not go away
      • The following error is shown in the browser console
        Error: [$injector:nomod] Module 'cam.cockpit.custom' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
        http://errors.angularjs.org/1.2.29/$injector/nomod?p0=cam.cockpit.custom
            at deps.js?bust=7.10.0:4780
            at deps.js?bust=7.10.0:6381
            at ensure (deps.js?bust=7.10.0:6305)
            at Object.module (deps.js?bust=7.10.0:6379)
            at camunda-cockpit-bootstrap.js?bust=7.10.0:1
            at Object.execCb (require.js:1690)
            at Module.check (require.js:865)
            at Module.enable (require.js:1177)
            at Module.init (require.js:783)
            at require.js:1453
        check @ require.js:900
        

        Issue Links

          Activity

          roman.smirnov Smirnov Roman created issue -
          roman.smirnov Smirnov Roman made changes -
          Field Original Value New Value
          Description *Steps to reproduce:*
          # Download a Camunda Distribution containing Tomcat
          # Modify {{config.js}} resides in {{${PATH_TO_TOMCAT}/webapps/camunda/app/cockpit/scripts}}, so that it looks like
          {code}
          window.camCockpitConf = {
            bpmnJs: {
              moddleExtensions: {
                camunda: 'scripts/camunda'
              }
            }
          };
          {code}
          # Move [^camunda.json] into {{${PATH_TO_TOMCAT}/webapps/camunda/app/cockpit/scripts}}
          # Start Camunda Distribution
          # Open in browser http://localhost:8080/camunda/app/cockpit/default

          *Expected Behavior:*
          The login page is shown, so that a user can login into Cockpit.

          *Observed Behavior:*
          - The loading indicator does not go away
          - The following error is shown in the browser console
          {code}
          Error: [$injector:nomod] Module 'cam.cockpit.custom' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
          http://errors.angularjs.org/1.2.29/$injector/nomod?p0=cam.cockpit.custom
              at deps.js?bust=7.10.0:4780
              at deps.js?bust=7.10.0:6381
              at ensure (deps.js?bust=7.10.0:6305)
              at Object.module (deps.js?bust=7.10.0:6379)
              at camunda-cockpit-bootstrap.js?bust=7.10.0:1
              at Object.execCb (require.js:1690)
              at Module.check (require.js:865)
              at Module.enable (require.js:1177)
              at Module.init (require.js:783)
              at require.js:1453
          check @ require.js:900
          {code}
          *Steps to reproduce:*
          # Download a Camunda Distribution containing Tomcat
          # Modify {{config.js}} resides in {{${PATH_TO_TOMCAT}/webapps/camunda/app/cockpit/scripts}}, so that it looks like
          {code}
          window.camCockpitConf = {
            bpmnJs: {
              moddleExtensions: {
                camunda: 'scripts/camunda'
              }
            }
          };
          {code}

          # Move [^camunda.json] into {{${PATH_TO_TOMCAT}/webapps/camunda/app/cockpit/scripts}}
          # Start Camunda Distribution
          # Open in browser http://localhost:8080/camunda/app/cockpit/default

          *Expected Behavior:*
          The login page is shown, so that a user can login into Cockpit.

          *Observed Behavior:*
          - The loading indicator does not go away
          - The following error is shown in the browser console
          {code}
          Error: [$injector:nomod] Module 'cam.cockpit.custom' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
          http://errors.angularjs.org/1.2.29/$injector/nomod?p0=cam.cockpit.custom
              at deps.js?bust=7.10.0:4780
              at deps.js?bust=7.10.0:6381
              at ensure (deps.js?bust=7.10.0:6305)
              at Object.module (deps.js?bust=7.10.0:6379)
              at camunda-cockpit-bootstrap.js?bust=7.10.0:1
              at Object.execCb (require.js:1690)
              at Module.check (require.js:865)
              at Module.enable (require.js:1177)
              at Module.init (require.js:783)
              at require.js:1453
          check @ require.js:900
          {code}
          roman.smirnov Smirnov Roman made changes -
          Description *Steps to reproduce:*
          # Download a Camunda Distribution containing Tomcat
          # Modify {{config.js}} resides in {{${PATH_TO_TOMCAT}/webapps/camunda/app/cockpit/scripts}}, so that it looks like
          {code}
          window.camCockpitConf = {
            bpmnJs: {
              moddleExtensions: {
                camunda: 'scripts/camunda'
              }
            }
          };
          {code}

          # Move [^camunda.json] into {{${PATH_TO_TOMCAT}/webapps/camunda/app/cockpit/scripts}}
          # Start Camunda Distribution
          # Open in browser http://localhost:8080/camunda/app/cockpit/default

          *Expected Behavior:*
          The login page is shown, so that a user can login into Cockpit.

          *Observed Behavior:*
          - The loading indicator does not go away
          - The following error is shown in the browser console
          {code}
          Error: [$injector:nomod] Module 'cam.cockpit.custom' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
          http://errors.angularjs.org/1.2.29/$injector/nomod?p0=cam.cockpit.custom
              at deps.js?bust=7.10.0:4780
              at deps.js?bust=7.10.0:6381
              at ensure (deps.js?bust=7.10.0:6305)
              at Object.module (deps.js?bust=7.10.0:6379)
              at camunda-cockpit-bootstrap.js?bust=7.10.0:1
              at Object.execCb (require.js:1690)
              at Module.check (require.js:865)
              at Module.enable (require.js:1177)
              at Module.init (require.js:783)
              at require.js:1453
          check @ require.js:900
          {code}
          *Steps to reproduce:*
          # Download a Camunda Distribution containing Tomcat
          # Modify {{config.js}} resides in {{$\{PATH_TO_TOMCAT\}/webapps/camunda/app/cockpit/scripts}}, so that it looks like
          {code}
          window.camCockpitConf = {
            bpmnJs: {
              moddleExtensions: {
                camunda: 'scripts/camunda'
              }
            }
          };
          {code}

          # Move [^camunda.json] into {{${PATH_TO_TOMCAT}/webapps/camunda/app/cockpit/scripts}}
          # Start Camunda Distribution
          # Open in browser http://localhost:8080/camunda/app/cockpit/default

          *Expected Behavior:*
          The login page is shown, so that a user can login into Cockpit.

          *Observed Behavior:*
          - The loading indicator does not go away
          - The following error is shown in the browser console
          {code}
          Error: [$injector:nomod] Module 'cam.cockpit.custom' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
          http://errors.angularjs.org/1.2.29/$injector/nomod?p0=cam.cockpit.custom
              at deps.js?bust=7.10.0:4780
              at deps.js?bust=7.10.0:6381
              at ensure (deps.js?bust=7.10.0:6305)
              at Object.module (deps.js?bust=7.10.0:6379)
              at camunda-cockpit-bootstrap.js?bust=7.10.0:1
              at Object.execCb (require.js:1690)
              at Module.check (require.js:865)
              at Module.enable (require.js:1177)
              at Module.init (require.js:783)
              at require.js:1453
          check @ require.js:900
          {code}
          roman.smirnov Smirnov Roman made changes -
          Description *Steps to reproduce:*
          # Download a Camunda Distribution containing Tomcat
          # Modify {{config.js}} resides in {{$\{PATH_TO_TOMCAT\}/webapps/camunda/app/cockpit/scripts}}, so that it looks like
          {code}
          window.camCockpitConf = {
            bpmnJs: {
              moddleExtensions: {
                camunda: 'scripts/camunda'
              }
            }
          };
          {code}

          # Move [^camunda.json] into {{${PATH_TO_TOMCAT}/webapps/camunda/app/cockpit/scripts}}
          # Start Camunda Distribution
          # Open in browser http://localhost:8080/camunda/app/cockpit/default

          *Expected Behavior:*
          The login page is shown, so that a user can login into Cockpit.

          *Observed Behavior:*
          - The loading indicator does not go away
          - The following error is shown in the browser console
          {code}
          Error: [$injector:nomod] Module 'cam.cockpit.custom' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
          http://errors.angularjs.org/1.2.29/$injector/nomod?p0=cam.cockpit.custom
              at deps.js?bust=7.10.0:4780
              at deps.js?bust=7.10.0:6381
              at ensure (deps.js?bust=7.10.0:6305)
              at Object.module (deps.js?bust=7.10.0:6379)
              at camunda-cockpit-bootstrap.js?bust=7.10.0:1
              at Object.execCb (require.js:1690)
              at Module.check (require.js:865)
              at Module.enable (require.js:1177)
              at Module.init (require.js:783)
              at require.js:1453
          check @ require.js:900
          {code}
          *Steps to reproduce:*
          # Download a Camunda Distribution containing Tomcat
          # Modify {{config.js}} resides in {{$\{PATH_TO_TOMCAT\}/webapps/camunda/app/cockpit/scripts}}, so that it looks like
          {code}
          window.camCockpitConf = {
            bpmnJs: {
              moddleExtensions: {
                camunda: 'scripts/camunda'
              }
            }
          };
          {code}
          # Move [^camunda.json] into {{$\{PATH_TO_TOMCAT\}/webapps/camunda/app/cockpit/scripts}}
          # Start Camunda Distribution
          # Open in browser http://localhost:8080/camunda/app/cockpit/default

          *Expected Behavior:*
          The login page is shown, so that a user can login into Cockpit.

          *Observed Behavior:*
          - The loading indicator does not go away
          - The following error is shown in the browser console
          {code}
          Error: [$injector:nomod] Module 'cam.cockpit.custom' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
          http://errors.angularjs.org/1.2.29/$injector/nomod?p0=cam.cockpit.custom
              at deps.js?bust=7.10.0:4780
              at deps.js?bust=7.10.0:6381
              at ensure (deps.js?bust=7.10.0:6305)
              at Object.module (deps.js?bust=7.10.0:6379)
              at camunda-cockpit-bootstrap.js?bust=7.10.0:1
              at Object.execCb (require.js:1690)
              at Module.check (require.js:865)
              at Module.enable (require.js:1177)
              at Module.init (require.js:783)
              at require.js:1453
          check @ require.js:900
          {code}
          roman.smirnov Smirnov Roman made changes -
          Link This issue is depended on by CAM-9603 [ CAM-9603 ]
          thorben.lindhauer Thorben Lindhauer made changes -
          Remote Link This issue links to "Page (camunda confluence)" [ 12440 ]
          thorben.lindhauer Thorben Lindhauer made changes -
          Fix Version/s 7.10.2 [ 15351 ]
          thorben.lindhauer Thorben Lindhauer made changes -
          Assignee Tassilo Weidner [ tassilo.weidner ]
          tobias.beer Tobias Beer made changes -
          Link This issue is depended on by SUPPORT-5203 [ SUPPORT-5203 ]
          thorben.lindhauer Thorben Lindhauer made changes -
          Fix Version/s 7.11.0 [ 15343 ]
          tassilo.weidner Tassilo Weidner made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          tassilo.weidner Tassilo Weidner made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          tassilo.weidner Tassilo Weidner made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          tassilo.weidner Tassilo Weidner made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Original Estimate 0 minutes [ 0 ]
          Remaining Estimate 0 minutes [ 0 ]
          Assignee Tassilo Weidner [ tassilo.weidner ] Roman Smirnov [ smirnov ]
          Resolution Fixed [ 1 ]
          roman.smirnov Smirnov Roman made changes -
          Status Resolved [ 5 ] In Test [ 10004 ]
          roman.smirnov Smirnov Roman made changes -
          Assignee Roman Smirnov [ smirnov ] Michael Schoettes [ michael.schoettes ]
          michael.schoettes Michael Schoettes made changes -
          Description *Steps to reproduce:*
          # Download a Camunda Distribution containing Tomcat
          # Modify {{config.js}} resides in {{$\{PATH_TO_TOMCAT\}/webapps/camunda/app/cockpit/scripts}}, so that it looks like
          {code}
          window.camCockpitConf = {
            bpmnJs: {
              moddleExtensions: {
                camunda: 'scripts/camunda'
              }
            }
          };
          {code}
          # Move [^camunda.json] into {{$\{PATH_TO_TOMCAT\}/webapps/camunda/app/cockpit/scripts}}
          # Start Camunda Distribution
          # Open in browser http://localhost:8080/camunda/app/cockpit/default

          *Expected Behavior:*
          The login page is shown, so that a user can login into Cockpit.

          *Observed Behavior:*
          - The loading indicator does not go away
          - The following error is shown in the browser console
          {code}
          Error: [$injector:nomod] Module 'cam.cockpit.custom' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
          http://errors.angularjs.org/1.2.29/$injector/nomod?p0=cam.cockpit.custom
              at deps.js?bust=7.10.0:4780
              at deps.js?bust=7.10.0:6381
              at ensure (deps.js?bust=7.10.0:6305)
              at Object.module (deps.js?bust=7.10.0:6379)
              at camunda-cockpit-bootstrap.js?bust=7.10.0:1
              at Object.execCb (require.js:1690)
              at Module.check (require.js:865)
              at Module.enable (require.js:1177)
              at Module.init (require.js:783)
              at require.js:1453
          check @ require.js:900
          {code}
          *Steps to reproduce:*
          # Download a Camunda Distribution containing Tomcat
          # Modify {{config.js}} resides in {{$\{PATH_TO_TOMCAT\}/webapps/camunda/app/cockpit/scripts}}, so that it looks like
          {code}
          window.camCockpitConf = {
            bpmnJs: {
              moddleExtensions: {
                camunda: 'scripts/camunda'
              }
            }
          };
          {code}
          # Move [^camunda.json] into {{$\{PATH_TO_TOMCAT\}/webapps/camunda/app/cockpit/scripts}}
          # Start Camunda Distribution
          # Open in browser http://localhost:8080/camunda/app/cockpit/default/

          *Expected Behavior:*
          The login page is shown, so that a user can login into Cockpit.

          *Observed Behavior:*
          - The loading indicator does not go away
          - The following error is shown in the browser console
          {code}
          Error: [$injector:nomod] Module 'cam.cockpit.custom' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
          http://errors.angularjs.org/1.2.29/$injector/nomod?p0=cam.cockpit.custom
              at deps.js?bust=7.10.0:4780
              at deps.js?bust=7.10.0:6381
              at ensure (deps.js?bust=7.10.0:6305)
              at Object.module (deps.js?bust=7.10.0:6379)
              at camunda-cockpit-bootstrap.js?bust=7.10.0:1
              at Object.execCb (require.js:1690)
              at Module.check (require.js:865)
              at Module.enable (require.js:1177)
              at Module.init (require.js:783)
              at require.js:1453
          check @ require.js:900
          {code}
          michael.schoettes Michael Schoettes made changes -
          Status In Test [ 10004 ] Closed [ 6 ]
          michael.schoettes Michael Schoettes made changes -
          Comment [ A comment with security level 'Developers' was removed. ]
          thorben.lindhauer Thorben Lindhauer made changes -
          Fix Version/s 7.11.0-alpha1 [ 15370 ]
          thorben.lindhauer Thorben Lindhauer made changes -
          Remote Link This issue links to "Page (camunda confluence)" [ 12440 ]
          thorben.lindhauer Thorben Lindhauer made changes -
          Workflow camunda BPM [ 54202 ] Backup_camunda BPM [ 64180 ]

            People

            • Assignee:
              michael.schoettes Michael Schoettes
              Reporter:
              roman.smirnov Smirnov Roman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development