Old and unused objects in the repository (objects file)
Robert Schwarz
r.schwarz at blackstream.at
Sun Sep 2 12:39:43 UTC 2007
Hi,
I'm writing a small Seaside/Magma application and I'm using
OrderedCollection and MagmaCollections.
The application works fine. But when I take a look in the objective-
file with a text editor I noticed that a removed object remains in
the objective-file.
Here are some code snippets for adding an object:
issue ifNotNil: [self session commit: [self model add: issue]]
and for removing:
remove: anIssueObject
self session commit: [self model remove: anIssueObject]
Is this normal or do I anything wrong? Can I manually or automatic
remove/collect old and unused objects?
Kind regards
Robert
More information about the Magma
mailing list