Skip to content

Loading other entities #40

@webdobe

Description

@webdobe

I was attempting to load a menu entity. I get:

angular.js:13920 TypeError: this[this.ucfirst(...)] is not a constructor
    at Object.jDrupal.entityLoad (http://localhost:9000/bower_components/jdrupal/jdrupal.js:452:16)
    at menuLoad (http://localhost:9000/scripts/services/menu.js:14:21)
    at new <anonymous> (http://localhost:9000/scripts/controllers/main-menu.js:18:24)
    at Object.invoke (http://localhost:9000/bower_components/angular/angular.js:4718:19)
    at $controllerInit (http://localhost:9000/bower_components/angular/angular.js:10354:34)
    at nodeLinkFn (http://localhost:9000/bower_components/angular/angular.js:9263:34)
    at compositeLinkFn (http://localhost:9000/bower_components/angular/angular.js:8620:13)
    at publicLinkFn (http://localhost:9000/bower_components/angular/angular.js:8500:30)
    at Object.link (http://localhost:9000/bower_components/angular/angular.js:26734:38)
    at http://localhost:9000/bower_components/angular/angular.js:1247:18 <div ng-include="'views/main-menu.html'" class="ng-scope" data-ng-animate="1">

It looks like loading other entities besides comments users and nodes is not supported using the jDrupal api?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions