Bug 29870

GemConnect

2.0.1, 2.0, 1.1.6, 1.1.5, 1.1.4, 1.1.3, 1.1.2, 1.1.1

All

2.1

GsRdbChangeNotifObj>>removeAllNotification is broken

The method GsRdbChangeNotifObj>>removeAllNotification calls an
incorrect primitive number, and will return an error if you attempt
to execute it.

Workaround

File in the following as SystemUser and commit:


category: 'Clean Up'
method: GsRdbChangeNotifObj
removeAllNotification

"Removes this change notification object from all dependency lists. The change
notification object will no longer be notified when objects are modified.

ARGUMENTS:
   none

RETURN VALUE:
   unspecified

ERRORS:
   none
"

   <primitive: 901>
   | entries depList |

   entries := SharedDependencyLists removeEntriesContaining: self.
   1 to: entries do: [  :i |
      depList := entries at: i.
      depList _removeCompletelyPathTerm: self.
      SharedDependencyLists at: depList logging: false.
      ].

   System _disableProtectedMode.
%


                

Last updated: 9/10/04