Call stack or tracing available
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2013 12:56 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2013 07:37 AM
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() ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2013 07:45 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2013 07:57 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2013 08:09 AM
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.