Pega Customer Service 7.31 - Some Classes Not Found
Summary & Question: after installing CPM 7.31 AppCentric reloadCache processing reports bad class definitions “Data-Channel-Process-” and “CustomerChat”, and indeed can’t find these two classes after login with CASysAdmin. Will this cause any problem when we use IVR or Chat? If yes, how to resolve this problem? If no, does it mean a bunch of rules should not be installed at the first place?
1. Issue logs from PegaRules when start Pega after CPM 7.31 installed
2018-04-20 08:29:13,310 [l LOAD_ASSEMBLYCACHE] [ STANDARD] [ ] [ ] (pcentric.RACacheAppCentricImpl) INFO - Start AppCentric reloadCache processing for node 521ba38864b4a75c5e3d57a92783e0a6. Maximum age in hours for Usage data is 96. Maximum rows to load is 14400
2018-04-20 08:29:29,766 [ L37062WUS] [ STANDARD] [ ] [ ] (res.CacheDataToCandidateMapper) WARN - Unable to load RULE-OBJ-MODEL DATA-CHANNEL-PROCESS- PYDEFAULT #20171021T110200.802 GMT due to Database-BadClassDef Data-Channel-Process-; This may cause the wrong rule to run during rule execution.
2018-04-20 08:29:31,470 [ L37062WUS] [ STANDARD] [ ] [ ] (res.CacheDataToCandidateMapper) WARN - Unable to load RULE-OBJ-MODEL CUSTOMERCHAT SETCHATPARAMETERSFORSAFEURL #20171021T103447.899 GMT due to Database-BadClassDef CustomerChat; This may cause the wrong rule to run during rule execution.
2018-04-20 08:29:32,754 [ L37062WUS] [ STANDARD] [ ] [ ] (ternal.vtable.VirtualTableImpl) INFO - ...Finished. Preloaded 17.6MB for 73097 rules in 19534 ms
2. Bad Class definition
due to Database-BadClassDef Data-Channel-Process-
due to Database-BadClassDef CustomerChat
3. Check in system – login with CASYSADMIN
“Data-Channel-Process-“ is parent of “Data-Channel-Process-IVR”
Thanks Howard, for pointing out the issue to us , we have identified that Class 'Channel processing primary page for IVR' (Data-Channel-Process-IVR) has parent class as "Data-Channel-Process-" instead it should have been "Data-Channel-" . It needs to be rectified through a Hotfix .
The issue is that as part of refactoring, the class Data-Channel-Process- was deleted in 7.31 but the child class Data-Channel-Process-IVR was not deleted. It can be safely ignored.
Likewise, the CustomerChat class also was left behind after refactoring as it was a chat implementation in Pegawhich is now not used, and this class is redundant. If a customer has any rules in this class, they need to be removed.
The folks who have worked on removal of these classes have confirmed that it will not affect any functionality and hence a hotfix would not be required for fixing this.