Workaround:
There is no workaround, you must restore from backup to recover. If this
is not possible for critical applications, contact GemStone Technical Support.
Make a backup of the repository prior to making any modifications to this
method.
Leaving a separate idle session logged in as SystemUser, while modifications
are being tested, will allow these modifications to be removed to recover
the system.
Only executing the modifications for users other than SystemUser, and handling
errors in the modifications, will also help avoid situations requiring
restore from backup. For example,
(self userProfile userId = 'SystemUser') ifFalse: [
[user code]
on: (Globals at: #Error)
do: [:ex | ex return]
].