camunda-community-hub / camunda-7-cockpit-plugin-statistics

camunda BPM community extension providing a statistics plugin for camunda Cockpit
Apache License 2.0
25 stars 20 forks source link

camunda-cockpit-plugin-statistics with Camunda v7.11.0 #14

Open char16t opened 5 years ago

char16t commented 5 years ago

Environment

Steps to reproduce

  1. Clone repository git clone https://github.com/camunda/camunda-cockpit-plugin-statistics
  2. Build and install maven dependency mvn clean install
  3. Add dependency to your Camunda project
    <dependency>
        <groupId>org.camunda.bpm.extension</groupId>
        <artifactId>camunda-cockpit-plugin-statistics-root</artifactId>
        <version>1.0.0</version>
    </dependency>
  4. Login and open cockpit http://localhost:8080/app/cockpit/default/#/dashboard

Expected

Content in "Statistics & Analytics" section.

Actual

Error in web console:

image


Uncaught ReferenceError: d3new is not defined
    at nv.d3.new.min.js?bust=7.11.0:2
    at nv.d3.new.min.js?bust=7.11.0:8

Error: [$injector:unpr] Unknown provider: $modalProvider <- $modal <- dashboardCtrl
https://errors.angularjs.org/1.7.8/$injector/unpr?p0=%24modalProvider%20%3C-%20%24modal%20%3C-%20dashboardCtrl
    at deps.js?bust=7.11.0:8134
    at deps.js?bust=7.11.0:12920
    at Object.getService [as get] (deps.js?bust=7.11.0:13080)
    at deps.js?bust=7.11.0:12925
    at getService (deps.js?bust=7.11.0:13080)
    at injectionArgs (deps.js?bust=7.11.0:13105)
    at Object.instantiate (deps.js?bust=7.11.0:13149)
    at $controller (deps.js?bust=7.11.0:19715)
    at camunda-cockpit-ui.js?bust=7.11.0:1
    at processQueue (deps.js?bust=7.11.0:25941) "Possibly unhandled rejection: {}"```
rpagliuca commented 4 years ago

I'm having exactly the same problem! I'll follow this issue.

amirduran commented 3 years ago

I think this might be compatibility issue. I checked on Camunda website and here is what they wrote. So obviously frontend API changed and this plugin is not able to work anymore.

image