Change Schedule - TypeError: Cannot find function buildAncestorClassInfo in SoCModelBuilderSNC

jiral
Giga Sage

When opening the Change Schedule we are getting this error:

jeffiral_0-1682669040879.png

 The error's full context is : TypeError: Cannot find function buildAncestorClassInfo in object
function () {...}. (sys_script_include.5d041e6767230300b410afa00585ef7e.script; line 73)

 

The affected script include : SoCModelBuilderSNC (read-only) and looking at the script :

jeffiral_1-1682669109529.png

 

it calls the buildAncestorClassInfo function in the ChangeCheckConflicts script include:

jeffiral_2-1682669156976.png

The function is obviously there, so my question is what might be causing it?

ChangeCheckConflicts (see attached for its script) is customized, and we can't revert it to OOB as it currently being used in several parts.

 

Any recommendation?

1 ACCEPTED SOLUTION

Thanks @Sandeep Rajput for the response. 

 

As far as I can tell, nothing's wrong with the ACL config as well as the script itself in the script include. 

 

Seems like that the only choice is to revert ChangeCheckConflicts to OOB and move the customizations to another custom script include to leverage the current custom functionalities. 

 

Got it working after reverting it to OOB and moving the custom scripts elsewhere.

View solution in original post

2 REPLIES 2

Sandeep Rajput
Tera Patron
Tera Patron

@jiral Check the ACLs for ChangeCheckConflicts script include. Also, compare the code of Custom version with the version available in the latest release spot any differences which is causing this.

Thanks @Sandeep Rajput for the response. 

 

As far as I can tell, nothing's wrong with the ACL config as well as the script itself in the script include. 

 

Seems like that the only choice is to revert ChangeCheckConflicts to OOB and move the customizations to another custom script include to leverage the current custom functionalities. 

 

Got it working after reverting it to OOB and moving the custom scripts elsewhere.