SonarSoftwareInc / customer_portal

A prebuilt customer portal for Sonar.
https://sonar.software
25 stars 51 forks source link

AB#5796 customer portal cant add or update phone number from the portal #155

Closed ryan-millikin closed 2 months ago

ryan-millikin commented 1 year ago

Update: After rebasing, the most recent tiny commit was needed to clean up and needs a review before merging.

When saving phone numbers in the customer portal:

Error Text: A phone number cannot be saved. Please remove it and try again.

This happens when there is phone number types mismatch between the customer portal and Sonar side. The customer portal will send Home, Mobile, Work, and Fax when they're set along with any other phone number types that are set Sonar side. However, the contact and phone numbers are loaded from the API and cached for 10 minutes, so this can cause some unexpected behavior when changing the phone number types on the Sonar side.

Related Customer Portal Framework PR: https://github.com/SonarSoftwareInc/customer_portal_framework/pull/11

SonarSaied commented 11 months ago

/rebase