Sorry to be confusing. But here's more of an explanation.
I have a class ImageFolderDescription, which is a subclass of
MAToManyRelationDescription. This description is added to my
PlantModel through a DescriptionEditor.
So, when someone goes to the edit form for PlantModel, the form
contains an MAOneToManyComponent for the Plant's
ImageFolderDescription. When they click the add button to create a
new image in the ImageFolder, it shows them the editor component for
the image--no problem. But once they are done editing the image and
click the Save button, they get the "UndefinedObject>>copyWith:"
In fact it doesn't matter which class I add to the ImageFolder,
whether its an image or and Object or a credit card, it still throws
On 5/10/07, Lukas Renggli <renggli(a)iam.unibe.ch> wrote:
> It's actually the MAOneToManyComponent>>value that is
nil, and not
> the model.
> This error occurs during the answer back from the model editor to the
> collection report. It has something to do with the
> MAOneToManyComponent's memento having a nil value for #cache.
And in your object the value is actually a collection? Usually the
cache just reads the value from your object.
I am confused. How can I reproduce?
SmallWiki, Magritte, Pier and Related Tools ...
Buy my album Zero Ground on iTunes:
View my artist profile on MySpace Music:
Hear my music on-demand on Last.fm: