Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2294

Front-end and back-end email address regular expression should be the same

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • master
    • 2.0.0
    • Ranger
    • Patch

    Description

      When edit user email address, and input the incorrect email address,
      there are two kinds of error message:
      1.Input .@ab.ab, there is error message:
      Invalid email address
      JsValidateEmail.jpg

      2.Input a@ab.ab, there is error message:
      Please provide valid email address.
      JavaValidateEmail.jpg

      It is not reasonable when email address passed front-end validation,
      but failed back-end validation.
      So front-end and back-end email address regular expression should be the same,
      and add hint message for user to fill email address.

      Attachments

        1. JavaValidateEmail.jpg
          141 kB
          Qiang Zhang
        2. JsValidateEmail.jpg
          135 kB
          Qiang Zhang
        3. FixedJsValidateEmail.jpg
          99 kB
          Qiang Zhang
        4. 0001-RANGER-2294-Front-end-and-back-end-email-address-reg.patch
          3 kB
          Qiang Zhang

        Issue Links

          Activity

            People

              zhangqiang2 Qiang Zhang
              zhangqiang2 Qiang Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified