You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To test my upgrade step for this module HealthShare.HP.PAS v2.2.0, I ran "update HealthShare.HP.PAS 2.2.0". The command succeeded in IPM shell, but when running in CPF, it has some trailing failures:
[HP-PAS|HealthShare.HP.PAS] ApplyUpdateSteps START
Acquiring lock on ^IPM.UpdateLock(healthshare.hp.pas)
Starting to run update steps for module = healthshare.hp.pas & class = HS.HP.PAS.Update.V2
Running UpdateProduction()
UpdateProduction() Finished
Finished running update steps for module = healthshare.hp.pas & class = HS.HP.PAS.Update.V2
Releasing lock on ^IPM.UpdateLock(healthshare.hp.pas)
[HP-PAS|HealthShare.HP.PAS] ApplyUpdateSteps SUCCESS
ERROR! ObjectScript error: LoadNewModule+142^%IPM.Utils.Module.1 *NoTransaction
I confirm the upgrade step itself was applied in IRIS. It's this merge error is confusing.
To resolve this, I had to add TSTART, TCOMMIT, TROLLBACK into the upgrade step. After that, the update command works as expected in both IPM shell and CPF merge.
Is this expected behavior that future update steps need to include transactional commands?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To test my upgrade step for this module HealthShare.HP.PAS v2.2.0, I ran "update HealthShare.HP.PAS 2.2.0". The command succeeded in IPM shell, but when running in CPF, it has some trailing failures:
[HP-PAS|HealthShare.HP.PAS] ApplyUpdateSteps START
Acquiring lock on ^IPM.UpdateLock(healthshare.hp.pas)
Starting to run update steps for module = healthshare.hp.pas & class = HS.HP.PAS.Update.V2
Running UpdateProduction()
UpdateProduction() Finished
Finished running update steps for module = healthshare.hp.pas & class = HS.HP.PAS.Update.V2
Releasing lock on ^IPM.UpdateLock(healthshare.hp.pas)
[HP-PAS|HealthShare.HP.PAS] ApplyUpdateSteps SUCCESS
ERROR! ObjectScript error: LoadNewModule+142^%IPM.Utils.Module.1 *NoTransaction
I confirm the upgrade step itself was applied in IRIS. It's this merge error is confusing.
To resolve this, I had to add TSTART, TCOMMIT, TROLLBACK into the upgrade step. After that, the update command works as expected in both IPM shell and CPF merge.
Is this expected behavior that future update steps need to include transactional commands?
Beta Was this translation helpful? Give feedback.
All reactions