Call stack or tracing available

Paul Ciarfella
Tera Guru

I have a repeated warning in my logs about a function not being defined:

org.mozilla.javascript.EcmaError: "getAssignableMembers" is not defined.
Caused by error in at line 1

==> 1: getAssignableMembers()

Is there any way to get more debug information on the call? Like the call stack or a function trace?

I've searched for the call in various places, but am unable to find it. I think its a reference qualifier, but I don't believe there's a way to search for reference qualifiers.

5 REPLIES 5

adiddigi
Tera Guru

Actually, there is - Reference qualifiers can be defined at 2 places - As Global Business rules or Script Includes. Did you check both Business Rules and Script Includes for "Script" Contains getAssignableMembers() ?


Paul Ciarfella
Tera Guru

Yes, I have searched BRs, script includes, client scripts, scheduled jobs, etc. Anywhere there is a script.

But reference qualifiers are defined in the dictionary on a per field - how does one search for that?


My bad. We need to actually search in the places where the function was "called" 🙂

for dictionary field values - Default Value contains "getMy....()"

or

It may also be called in module queries. Check those too.


I forgot about the module queries - thanks for pointing that out I searched all the filters on sys_app_modules but nothing found. I'll keep looking.