Profile phone numbers validation is not required

Fixed in

EPiServer.Profiles.Client 1.21.0

Created

Aug 23, 2020

Updated

Oct 06, 2020

State

Closed, Fixed and tested


Description

Profile phone number validation probably doesn't cover all possible valid cases.

Instead, invalid value (or valid phone number that we do not accept as valid) blocks storing profile data. It is also quite hard to describe clearly and maintain the documentation for this validation in case it is updated.

We should consider removing phone number validation or making it much more relaxed since the product functionality doesn't rely on correct phone numbers. Storing data as is may be more important than validating phone numbers.

 

Updated: Validation has been relaxed. Valid phone number characters: + - . whitespace and alphanumeric characters.