Posted: 27 Sep 2016 6:40 EDT Last activity: 15 Feb 2017 11:20 EST
Unable to create Cover objects in the Implementation Layer
I have created an application by building the FW layer first with all the required Case types. Then I created the application layer on top of the FW layer inheriting all the case types. However when I try to initiate the child case types from the implementation layer I am getting error "ClassIsNotCovered "
In the case type definition the coverable child case definition is present but still the system is unable to create the covered cases.
A solution has been provided in a pdn article with SA ID: SA-11735. But still the issue persists.
***Updated by Moderator: Marissa. Removed user added #helpme group tag. Apologies for confusion, shouldn't have been an end-user option; updated categories***
The cover class in the framework layer is inheriting from the Work-Cover- class and the cover class in the implementation layer is inheriting from the corresponding FW layer class. Do I need to change any class mapping?
Posted: 5 years ago
Posted: 28 Sep 2016 4:21 EDT
Madhuri Koravadi Srinidhi (Madhuri_Koravadi)
Senior Technical Solutions Engineer
I think that should suffice. Can you please share the configuration of the case types in the FW and implementation layer, along with the steps to reproduce the issue (error message screenshot / stack trace)?
From the screen shots it looks like a valid implemenation version of the sub-case case type rules exists. Could you show how you are trying to instaniate the sub-case becuase the tracer seems to indicate its using the class coupled to the FW layer and not the impl layer?
If you copy the cover case type into your application class, does it work? Then you can explicitly list the coverable class(es), so I assume it would (clearly you can't in the FW layer, since it isn't aware of classes at the implementation layer). While I'm sure there's a good explanation (does the covered implementation layer class inherit from CTC-NewHire-Work-ContuctInterview, for instance?), if you can make the problem go away with a quick save as and become unblocked, it might be a moot point.