Feature: Configurable frontend user phone number types 

Description 

Telephone and fax numbers imported from frontend users no longer carry the hard-coded values phone and fax, which are not selectable in the shipped phone-number type list. Two new extension configuration options say which type each source field imports as:

profile.feuser.telephoneNumberType = business
profile.feuser.faxNumberType = business
Copied!

Both default to business, which is part of the shipped types.phoneNumberTypes. Each value is validated against that list before it is written: a value the installation does not offer falls back to the undefined type '', which the backend select ships as its first item. The synchronisation therefore never writes a type the backend cannot resolve.

An existing selectable type is an editor decision and is left alone. Only the two historical values are corrected, and only where they are not selectable on that installation: an installation that genuinely offers phone or fax as types keeps them.

Impact 

New and updated imports carry a configured, selectable type. Installations that want the imported numbers typed differently — or not typed at all — set the two options; no other configuration changes.