Support Article
Save error occurs when trying to update object using an activity
SA-1545
Summary
An error occurs when trying to update a work object using an activity.
Error Messages
"Trying to save an invalid page: Trying to save an invalid page: page is not valid
.Eligibility: The property UpdateCase.Eligibility was of mode Page List while adoptDictionaryDefinition(ImmutablePropertyInfo, boolean, boolean) was expecting Page mode. Details: the mode has been reset to match the property's definition."
Steps to Reproduce
1. Create an Eligibility property of type Page List.
2. Create a work object with the Eligibility property page list.
3. Change the Eligibility property type to Page mode.
4. Create an activity to open the work object created in step 2 and you see the error "The property UpdateCase.Eligibility was of mode Page List while adoptDictionaryDefinition(ImmutablePropertyInfo, boolean, boolean) was expecting Page mode. Details: the mode has been reset to match the property's definition."
Root Cause
The error is occurring because the Eligibility property was initially a Page List and had been changed to Page mode.
Resolution
If the data is not needed, remove the Eligibility property before saving the work object. If the data is needed, the Eligibility property will need to be copied to a new page list property. Then remove the Eligibility property so the work object can be saved.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.