Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-8197

The validation of team name works incorrectly for some special names in quay 3.13 new UI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • quay-v3.13.0
    • quay-ui
    • False
    • None
    • False

      Description of problem:

      When input a invalid team name in Create team wizard in quay new UI, there is a red help message "Choose a name to inform your teammates about this team. Must match ^[a-z][a-z0-9]+$". But in quay 3.13, some special invalid team names can pass the validation, or the validation process doesn't make sense. 

      But the validation for these invalid names works well in quay 3.12.4.

       

      1 If the first character is incorrect, there is no red help message in quay 3.13.

      The Create team wizard in quay 3.13

         
         

         But there is red help message in quay 3.12.4.

      The Create team wizard in quay 3.12.4

         
         

       

       

      2  In quay 3.13, when input some invalid character, the red help message will show up, but if input valid character continuously, the red help message will gone. 

      Input invalid character in quay 3.13

         
         

         

      Input valid character continuously in quay 3.13

         
         

      But it works well in quay 3.12.4

      Input invalid character in quay 3.12.4

         
         

       

      3 Some invalid team names can pass the validation in quay 3.13, such as "a12-b" and "0aa".

      The team name passed validation in quay 3.13

         
         

       

      All below invalid team names can get correct red help message in quay 3.12.4

      ['a', 'A', '0', '$', '0aa', 'A12', 'a12-b','a_b', 'a@12', 'abc#', 'abA', 'a%b']; 

      But below invalid team names hit some validation problem  in quay 3.13

      ['a',  '0',  '0aa',  'a12-b','a_b']; 

      Should make quay 3.13 works as quay 3.12.4.

              Unassigned Unassigned
              rhwhu Weihua Hu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: