Coder Social home page Coder Social logo

analytics-front-end's People

Contributors

adimachmali avatar adirv avatar amirch1 avatar dependabot[bot] avatar diamond-darrell avatar erankor avatar gelkayam avatar viktor-kyryltsev-kaltura avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

analytics-front-end's Issues

Can I install this to kaltura ce(platform-install-packages)

Hi,

I am installing Kaltura CE as personal interest. I am not sure if I am asking question right way.
When finished my installation, kmc_analytics_version is keeping v0.3, while "kaltura/analytics-front-end"(this project) is already upgraded to 1.5.1!
I tried unzip source code and upload to /opt/kaltura/apps/kmc-analytics/.
And edit /opt/kaltura/app/configurations/base.ini.
After that, Analytics UI in KMC was changed, but shows me "no data" every where.
Can you help me and many thanks.

Regards,
Yuri

(bug): "INVALID_OBJECT_ID" - Not able to embed analytics

Error

{
    "code": "INVALID_OBJECT_ID",
    "args": {
        "ID": "0"
    }
}
"Error: Invalid object id [0]
    at UserRoleGetAction.parseServerResponse (http://localhost:4200/vendor.js:25858:23)
    at UserRoleGetAction.handleResponse (http://localhost:4200/vendor.js:25905:35)
    at KalturaMultiRequest.handleResponse (http://localhost:4200/vendor.js:25640:52)
    at MapSubscriber.project (http://localhost:4200/vendor.js:26299:26)
    at MapSubscriber._next (http://localhost:4200/vendor.js:338295:31)
    at MapSubscriber.next (http://localhost:4200/vendor.js:187566:14)
    at CatchSubscriber._next (http://localhost:4200/vendor.js:187601:24)
    at CatchSubscriber.next (http://localhost:4200/vendor.js:187566:14)
    at MapSubscriber._next (http://localhost:4200/vendor.js:338301:24)
    at MapSubscriber.next (http://localhost:4200/vendor.js:187566:14)"

Possible Sollution:
userRoleId is hard coded as 0 which could be causing the issue.

const getRoleAction = new UserRoleGetAction({ userRoleId: 0 }).setDependency(['userRoleId', 0, 'roleIds']);

Steps to reproduce:

  1. Update ks and pid config in src/dev/analyticsLoader.html
  2. npm run example
  3. open http://localhost:4201

Please let me know how to solve this issue, or if there is a possible fix that would be released soon.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.