Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-44820

Incorrect validation errors for Contact Information in Profile tool

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 21.0, 22.0 [Tentative]
    • Fix Version/s: None
    • Component/s: Profile
    • Labels:
      None
    • Environment:
      Chrome Version 87.0.4280.88
      OS X Catalina, 10.15.5
    • Test Plan:
      Hide
      1. Open the Profile tool > hover over Contact Information > click Edit link
      2. Enter any text in a phone number field with first character a number
      3. Click Save changes – entry is saved even though it is not a valid phone number
      4. Click Edit again
      5. Enter any text in a phone number field with first character a letter
      6. Click Save changes – the error {{[FeedbackMessage message= "Invalid phone number", reporter = workphone, level = ERROR] }}is shown
      Show
      Open the Profile tool > hover over Contact Information > click Edit link Enter any text in a phone number field with first character a number Click Save changes – entry is saved even though it is not a valid phone number Click Edit again Enter any text in a phone number field with first character a letter Click Save changes – the error {{ [FeedbackMessage message= "Invalid phone number", reporter = workphone, level = ERROR] }}is shown

      Description

      The only data validation for the phone numbers in the Contact Information section of the Profile tool is to check that the first character entered is a digit, not a letter. After that, any combination of characters can be entered. The error message shown for incorrect phone numbers is formatted poorly and does not provide helpful information to the user (see screenshot)

       

      In addition, no formatting is applied to actual phone numbers entered (xxxxxxxxx will display just like that instead of (xxx) xxx-xxxx.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                kelseymolly Molly Kelsey
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Git Integration