loopback-component-admin icon indicating copy to clipboard operation
loopback-component-admin copied to clipboard

Cannot set property 'exists' of undefined

Open cesarho opened this issue 8 years ago • 0 comments

I got this error in /admin page, any idea?

angular.js:4621 Uncaught TypeError: Cannot set property 'exists' of undefined at Object. (loopback-admin.resources.js:3967) at Object.invoke (angular.js:4657) at Object.enforcedReturnValue [as $get] (angular.js:4509) at Object.invoke (angular.js:4657) at angular.js:4469 at Object.getService [as get] (angular.js:4616) at Object.$get (loopback-admin.js:420) at Object.invoke (angular.js:4657) at angular.js:4469 at getService (angular.js:4616)

line 3967 is: R.postLikes.exists = function() { var TargetResource = $injector.get("Post"); var action = TargetResource["::exists::Member::postLikes"]; return action.apply(R, arguments); };

It is a through model, is it not supported ?

cesarho avatar Jul 18 '17 16:07 cesarho