zantoku / google-toolbox-for-mac

Automatically exported from code.google.com/p/google-toolbox-for-mac
Apache License 2.0
0 stars 0 forks source link

GTMABMutableMultiValue instantiation returns nil #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. [GTMABMutableMultiValue valueWithPropertyType: kABMultiStringPropertyType]

What is the expected output? What do you see instead?
Expected:  an instance of GTMABMutableMultiValue
Saw: nil

What version of the product are you using? On what operating system?
Where do I find the version?  Downloaded within the last 2 weeks, current 
version still has 
problem (see below)

Please provide any additional information below.

- (id) initWithPropertyType: (ABPropertyType) type

has the following test:
if (!(type & kABMultiValueMask) && (type != kABInvalidPropertyType))

if you remove the first !, all is well, i.e.
if ((type & kABMultiValueMask) && (type != kABInvalidPropertyType))

Original issue reported on code.google.com by pennell....@gmail.com on 23 Oct 2008 at 1:11

GoogleCodeExporter commented 9 years ago
Fixed in TOT.
http://code.google.com/p/google-toolbox-for-mac/source/detail?r=65

Original comment by dmaclach on 23 Oct 2008 at 8:55