issue loopback-datasource-juggler

39 views
Skip to first unread message

Лидия Феоктистова

unread,
Dec 10, 2020, 6:43:42 AM12/10/20
to LoopbackJS
Hi, 
If I call function EmbedsMany.prototype.create (stage.executivesRel.create(newExecutive, options)), I get error:
node_modules\loopback-datasource-juggler\lib\relation-definition.js:2626
    inst.trigger = function(actionName, work, data, callback) {
                           ^
RangeError: Maximum call stack size exceeded
    at Stage.inst.trigger

Version loopback-data...@3.28.0
Version loop...@3.28.0 
 
I think the problem is in file loopback-datasource-juggler\lib\relation-definition.js in line:
if (inst && inst.triggerParent !== 'function') {
missing typeof

Thanks, Lida.
Reply all
Reply to author
Forward
0 new messages