FormKit.m icon indicating copy to clipboard operation
FormKit.m copied to clipboard

Keypath save doesn't exist

Open jonarrien opened this issue 10 years ago • 1 comments

I get this error:

Error FormKitFormMapping keyPath save doesn't exist for object name User .

This happens when tring to use buttonSave method:

[FKFormMapping mappingForClass:[User class] block:^(FKFormMapping *formMapping) {

    // here some fields added without any problem 
    // and this is the line causing the error. 
    [formMapping buttonSave:@"Save" handler:^{
            [self.formModel save];
            [self afterUserSaved];
    }];
}];
[self.formModel loadFieldsWithObject:user];

Once the error is printed into the console, FormKit.m doesn't trigger the save event. Any help would be appreciated, thanks.

jonarrien avatar May 06 '14 17:05 jonarrien

It's only a warning maybe it would be better to completely remove this warning in the future

brunow avatar May 20 '14 12:05 brunow