Fixed ldif export
Monotone-Parent: 5ec95086791268665860b1d3426a6dac9b220e92 Monotone-Revision: 24ad1ea4c7c45424c62bc468e315d77139691089 Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-09-24T15:58:30 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
8906e89999
commit
f82236c4a1
|
@ -2,6 +2,8 @@
|
|||
|
||||
* SoObjects/Appointments/SOGoAppointmentFolder.m (bareFetchFields:): Handled
|
||||
the Exception when all conditions are nil.
|
||||
* SoObjects/Contacts/NGVCard+SOGo.m (ldifString): Made corrections
|
||||
reflecting from the fixes in NGVCard to properly format an address.
|
||||
|
||||
2009-09-23 Cyril Robert <crobert@inverse.ca>
|
||||
|
||||
|
|
|
@ -101,11 +101,12 @@
|
|||
if ([array count])
|
||||
{
|
||||
tmp = [array objectAtIndex: 0];
|
||||
[entry setObject: [tmp value: 0] forKey: @"homeStreet"];
|
||||
[entry setObject: [tmp value: 1] forKey: @"mozillaHomeLocalityName"];
|
||||
[entry setObject: [tmp value: 2] forKey: @"mozillaHomeState"];
|
||||
[entry setObject: [tmp value: 3] forKey: @"mozillaHomePostalCode"];
|
||||
[entry setObject: [tmp value: 4] forKey: @"mozillaHomeCountryName"];
|
||||
[entry setObject: [tmp value: 1] forKey: @"mozillaHomeStreet2"];
|
||||
[entry setObject: [tmp value: 2] forKey: @"homeStreet"];
|
||||
[entry setObject: [tmp value: 3] forKey: @"mozillaHomeLocalityName"];
|
||||
[entry setObject: [tmp value: 4] forKey: @"mozillaHomeState"];
|
||||
[entry setObject: [tmp value: 5] forKey: @"mozillaHomePostalCode"];
|
||||
[entry setObject: [tmp value: 6] forKey: @"mozillaHomeCountryName"];
|
||||
}
|
||||
|
||||
array = [self org];
|
||||
|
@ -116,11 +117,12 @@
|
|||
if ([array count])
|
||||
{
|
||||
tmp = [array objectAtIndex: 0];
|
||||
[entry setObject: [tmp value: 0] forKey: @"street"];
|
||||
[entry setObject: [tmp value: 1] forKey: @"l"];
|
||||
[entry setObject: [tmp value: 2] forKey: @"st"];
|
||||
[entry setObject: [tmp value: 3] forKey: @"postalCode"];
|
||||
[entry setObject: [tmp value: 4] forKey: @"c"];
|
||||
[entry setObject: [tmp value: 1] forKey: @"mozillaWorkStreet2"];
|
||||
[entry setObject: [tmp value: 2] forKey: @"street"];
|
||||
[entry setObject: [tmp value: 3] forKey: @"l"];
|
||||
[entry setObject: [tmp value: 4] forKey: @"st"];
|
||||
[entry setObject: [tmp value: 5] forKey: @"postalCode"];
|
||||
[entry setObject: [tmp value: 6] forKey: @"c"];
|
||||
}
|
||||
|
||||
array = [self childrenWithTag: @"tel" andAttribute: @"type" havingValue: @"work"];
|
||||
|
|
Loading…
Reference in New Issue