Fix crash in RKCatalog. Suppress warning about symbol visibility during linking.

This commit is contained in:
Blake Watters
2011-06-11 18:21:41 -04:00
parent 8d30413717
commit 27ea307816
6 changed files with 16 additions and 60 deletions

View File

@@ -115,7 +115,7 @@
return [value stringValue];
}
RKLogWarning(@"Failed transformation of value at keyPath '%@'. No strategy for transforming from '%@' to '%@'", NSStringFromClass([value class]), NSStringFromClass(destinationType));
RKLogWarning(@"Failed transformation of value at keyPath '%@'. No strategy for transforming from '%@' to '%@'", keyPath, NSStringFromClass([value class]), NSStringFromClass(destinationType));
return nil;
}
@@ -204,7 +204,7 @@
if ([self.delegate respondsToSelector:@selector(objectMappingOperation:didNotFindMappingForKeyPath:)]) {
[self.delegate objectMappingOperation:self didNotFindMappingForKeyPath:attributeMapping.sourceKeyPath];
}
RKLogWarning(@"Did not find mappable attribute value keyPath '%@'", attributeMapping.sourceKeyPath);
RKLogTrace(@"Did not find mappable attribute value keyPath '%@'", attributeMapping.sourceKeyPath);
// Optionally set nil for missing values
if ([self.objectMapping setNilForMissingAttributes]) {