DeploydKit icon indicating copy to clipboard operation
DeploydKit copied to clipboard

Bug in DKEntity refresh method

Open dblapps opened this issue 11 years ago • 0 comments

Just noticed this, in DKEntity.m, the refresh method is defined as:

  • (BOOL)refresh { return [self refresh]; }

This just calls itself over and over until the app crashes. I think it should be:

  • (BOOL)refresh { return [self refresh:nil]; }

or perhaps:

  • (BOOL)refresh { NSError* error = nil; return [self refresh:&error]; }

dblapps avatar Sep 23 '13 01:09 dblapps