Upgrading from 2022.1.4 to 2024.1 HealthShare Health Connect Behavior
Has anyone noticed weird behavior when upgrading to HealthShare Health Connect 2024.1?
Wednesday I upgraded our TEST environment from IRIS for UNIX (Red Hat Enterprise Linux 8 for x86-64) 2022.1.4 (Build 812_0_22913U) [HealthConnect:3.5.0-1.m1] [HealthConnect:3.5.0-1.m1] to IRIS for UNIX (Red Hat Enterprise Linux 8 for x86-64) 2024.1 (Build 267_2U) [HealthConnect:3.5.0-1.m1].
Some of our Business Processes have been throwing...
ERROR <Ens>ErrBPTerminated: Terminating BP EnterpriseDirDBWorkDayAppointmentBPL # due to error: ERROR #5002: ObjectScript error: <LIST>%SerializeObject+7 ^Ens.BusinessProcessBPL.1
> ERROR #5002: ObjectScript error: <LIST>%SerializeObject+7 ^Ens.BusinessProcessBPL.1
I have had to Stop them from running, save and recompile the code. When I do I see a message about "Removing Orphaned Tables". Once I restart the Business Process, it is back to normal.
Shouldn't the upgrade go ahead and run $System.OBJ.CompileAll() or am I missing a step?
Comments
I don't think the upgrade runs $System.OBJ.CompileAll() "automatically", it's your responsibility to recompile, if necessary.
Yes, I would totally recommend running it after any version upgrade. Won't do any harm, and surely solve issues related to changes on depending intersystems classes.