Closed bernhab closed 4 months ago
I did an import via the import page Contacts > Import Contacts (XCM). This created the default location type also for e-mail and phone. (i.e., actually, added address, phone and e-mail with the default location type specified in the XCM profile to the matched contact).
It seems that the issue is not related to XCM but to Form Processor.
The XCM documentation states that the parameter Default Location Type "... defines the default location type used for postal and e-mail addresses as well as phone numbers."
I don't get this to work, but I don't know whether I use XCM correctly. Issue #37 might be somehow related.
I use XCM together with the form-processor extension. A first form-processor action fills the Home address data., if approriate, but does not change existing data. A second XCM profile is defined to import the same address, e-mail and phone by using the Default Location Type "Other" and the override or fill function, respectively.
Expected behaviour For a contact without any data related to location type "Other": Creation of Address block of type "Other", creation of an e-mail address of type "Other" and of a phone number of type "Other".
Actual result Creation of Address block of type "Other", creation of a second "Home" e-mail address and a second "Home" phone number and setting the primary flag to the newly created ones.
Am I doing something wrong or is it an error? I used a customised XCM extension, but also XCM 1.8 (by replacing the corresponding extension folders)