• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • master
    • Azure Templates
    • None
    • Minor

      Issue Summary

      Admin and Database password validation is broken when configuring a Confluence deployment via the Azure deployment UI.

      Steps to Reproduce

      Supply database password:
      When providing a database password ( Zh*wMRrPZJvcYt8q ) that conforms to the password rules:

      between 8 and 16 characters long, and must contain at least one uppercase letter, one lowercase letter, one number (0-9), and one non-alphanumeric character (!, $, #, %, etc.).
      

      we are told that it is not valid...

      It turns out that there is mismatch between password tooltip and the passwords regex itself:
      https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-632

      "regex": "^(?=.[A-Z])(?=.[!@#$%])(?=.[0-9])(?=.[a-z]).{12,16}$"

      This mismatch is causing confusion here.

       

      Supply admin password
      The admin password validation is broken. When providing the password Zh*wMRrPZJv we are told that the password must be at least 5 chars long. When a password of 5 chars is supplied we are told the same thing. Details of the password format are not provided either.

      Looking at the createUiDefinition.json we see that the password validation simply comprises a regex ensuring a string length between 12 and 17 chars is provided:

      https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-82

      Sure enough if a string comprising any chars that is between 12 and 16 chars in length is supplied validation passes.

      The tooltip for this is wrong too ( This password must be a minimum of 5 characters long. ) , which explains the confusion through the UI:
      https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-83

      Actual Results

      Password tooltip and password regex do not match which is causing confusion

      Expected Results

      Password tooltip conforms to the password regex. 

      Workaround

      • For the admin passwords provide a string that is between 12 and 16 characters in length
      • For the database passwords provide a string that is between 12 and 16 characters in length and comprises an UPPERCASE and lowecase letter, an integer and one of the following characters !@#$% 

          Form Name

            [SCALE-61] Azure Confluence config password tooltip validation broken

            Dylan Rathbone made changes -
            Remote Link Original: This issue links to "DCD-1303 (JIRA Server (Bulldog))" [ 560407 ] New: This issue links to "CLIP-1303 (JIRA Server (Bulldog))" [ 560407 ]
            Carlos Corredor made changes -
            Component/s New: Azure Templates [ 66502 ]
            Component/s Original: Data Center - Deployments [ 47495 ]
            Key Original: CONFSERVER-66307 New: SCALE-61
            QA Demo Status Original: Not Done [ 14330 ]
            QA Kickoff Status Original: Not Done [ 14234 ]
            Support reference count Original: 1
            Symptom Severity Original: Severity 3 - Minor [ 15832 ] New: Minor [ 16130 ]
            Affects Version/s New: master [ 89990 ]
            Affects Version/s Original: all [ 49090 ]
            Workflow Original: CONFSERVER Bug Workflow v4 [ 4132617 ] New: JAC Bug Workflow v3 [ 4223956 ]
            Project Original: Confluence Server and Data Center [ 10470 ] New: Server Deployments and Scale [ 20410 ]
            Bugfix Automation Bot made changes -
            Support reference count New: 1
            Dylan Rathbone made changes -
            Summary Original: Azure Confluence config wizard password validation broken New: Azure Confluence config password tooltip validation broken
            Dylan Rathbone made changes -
            Remote Link New: This issue links to "DCD-1303 (JIRA Server (Bulldog))" [ 560407 ]
            Dylan Rathbone made changes -
            Description Original: h3. Issue Summary

            Admin and Database password validation is broken when configuring a Confluence deployment via the Azure deployment UI.
            h3. Steps to Reproduce

            *Supply database password:*
             When providing a database password ( {{Zh*wMRrPZJvcYt8q}} ) that conforms to the password rules:
            {code:java}
            between 8 and 16 characters long, and must contain at least one uppercase letter, one lowercase letter, one number (0-9), and one non-alphanumeric character (!, $, #, %, etc.).
            {code}
            we are told that it is not valid...

            !image-2021-06-18-10-51-57-019.png|width=1366,height=656!

            It turns out that there is mismatch between password tooltip and the passwords regex itself:
             [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-632]

            {{"regex": "^(?=.*[A-Z])(?=.*[!@#$%])(?=.*[0-9])(?=.*[a-z]).\{12,16}$"}}

            This mismatch is causing confusion here.

             

            *Supply admin password*
             The admin password validation is broken. When providing the password {{Zh*wMRrPZJv}} we are told that the password must be at least 5 chars long. When a password of 5 chars is supplied we are told the same thing. Details of the password format are not provided either.

            [!image-2021-06-18-10-52-22-527.png|width=1204,height=773!|https://bulldog.internal.atlassian.com/secure/attachment/542724/542724_screenshot-3.png]

            Looking at the {{createUiDefinition.json}} we see that the password validation simply comprises a regex ensuring a string length between 12 and 17 chars is provided:

            [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-82]

            Sure enough if a string comprising any chars that is between 12 and 16 chars in length is supplied validation passes.

            The tooltip for this is wrong too ( {{This password must be a minimum of 5 characters long.}} ) , which explains the confusion through the UI:
             [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-83]
            h3. Actual Results

            Password tooltip and password regex do not match which is causing confusion
            h3. Expected Results

            Password tooltip conforms to the password regex. 
            h3. Workaround
             * For the admin passwords provide a string that is between 12 and 16 characters in length
             * For the database passwords provide a string that is between 12 and 16 characters in length and comprises an UPPERCASE and lowecase letter, a number and one of the following characters !@#$% 
            New: h3. Issue Summary

            Admin and Database password validation is broken when configuring a Confluence deployment via the Azure deployment UI.
            h3. Steps to Reproduce

            *Supply database password:*
             When providing a database password ( {{Zh*wMRrPZJvcYt8q}} ) that conforms to the password rules:
            {code:java}
            between 8 and 16 characters long, and must contain at least one uppercase letter, one lowercase letter, one number (0-9), and one non-alphanumeric character (!, $, #, %, etc.).
            {code}
            we are told that it is not valid...

            !image-2021-06-18-10-51-57-019.png|width=1366,height=656!

            It turns out that there is mismatch between password tooltip and the passwords regex itself:
             [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-632]

            {{"regex": "^(?=.*[A-Z])(?=.*[!@#$%])(?=.*[0-9])(?=.*[a-z]).\{12,16}$"}}

            This mismatch is causing confusion here.

             

            *Supply admin password*
             The admin password validation is broken. When providing the password {{Zh*wMRrPZJv}} we are told that the password must be at least 5 chars long. When a password of 5 chars is supplied we are told the same thing. Details of the password format are not provided either.

            [!image-2021-06-18-10-52-22-527.png|width=1204,height=773!|https://bulldog.internal.atlassian.com/secure/attachment/542724/542724_screenshot-3.png]

            Looking at the {{createUiDefinition.json}} we see that the password validation simply comprises a regex ensuring a string length between 12 and 17 chars is provided:

            [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-82]

            Sure enough if a string comprising any chars that is between 12 and 16 chars in length is supplied validation passes.

            The tooltip for this is wrong too ( {{This password must be a minimum of 5 characters long.}} ) , which explains the confusion through the UI:
             [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-83]
            h3. Actual Results

            Password tooltip and password regex do not match which is causing confusion
            h3. Expected Results

            Password tooltip conforms to the password regex. 
            h3. Workaround
             * For the admin passwords provide a string that is between 12 and 16 characters in length
             * For the database passwords provide a string that is between 12 and 16 characters in length and comprises an UPPERCASE and lowecase letter, an integer and one of the following characters !@#$% 
            Dylan Rathbone made changes -
            Description Original: h3. Issue Summary

            Admin and Database password validation is broken when configuring a Confluence deployment via the Azure deployment UI.
            h3. Steps to Reproduce

            *Supply database password:*
             When providing a database password ( {{Zh*wMRrPZJvcYt8q}} ) that conforms to the password rules:
            {code:java}
            between 8 and 16 characters long, and must contain at least one uppercase letter, one lowercase letter, one number (0-9), and one non-alphanumeric character (!, $, #, %, etc.).
            {code}
            we are told that it is not valid...

            !image-2021-06-18-10-51-57-019.png|width=1366,height=656!

            It turns out that there is mismatch between password tooltip and the passwords regex itself:
             [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-632]

            {{"regex": "^(?=.*[A-Z])(?=.*[!@#$%])(?=.*[0-9])(?=.*[a-z]).\{12,16}$"}}

            This mismatch between is causing the confusion here.

             

            *Supply admin password*
             The admin password validation is broken. When providing the password {{Zh*wMRrPZJv}} we are told that the password must be at least 5 chars long. When a password of 5 chars is supplied we are told the same thing. Details of the password format are not provided either.

            [!image-2021-06-18-10-52-22-527.png|width=1204,height=773!|https://bulldog.internal.atlassian.com/secure/attachment/542724/542724_screenshot-3.png]

            Looking at the {{createUiDefinition.json}} we see that the password validation simply comprises a regex ensuring a string length between 12 and 17 chars is provided:

            [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-82]

            Sure enough if a string comprising any chars that is between 12 and 16 chars in length is supplied validation passes.

            The tooltip for this is wrong too ( {{This password must be a minimum of 5 characters long.}} ) , which explains the confusion through the UI:
             [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-83]
            h3. Actual Results

            Password tooltip and password regex do not match which is causing confusion
            h3. Expected Results

            Password tooltip conforms to the password regex. 
            h3. Workaround
             * For the admin passwords provide a string that is between 12 and 16 characters in length
             * For the database passwords provide a string that is between 12 and 16 characters in length and comprises an UPPERCASE and lowecase letter, a number and one of the following characters !@#$% 
            New: h3. Issue Summary

            Admin and Database password validation is broken when configuring a Confluence deployment via the Azure deployment UI.
            h3. Steps to Reproduce

            *Supply database password:*
             When providing a database password ( {{Zh*wMRrPZJvcYt8q}} ) that conforms to the password rules:
            {code:java}
            between 8 and 16 characters long, and must contain at least one uppercase letter, one lowercase letter, one number (0-9), and one non-alphanumeric character (!, $, #, %, etc.).
            {code}
            we are told that it is not valid...

            !image-2021-06-18-10-51-57-019.png|width=1366,height=656!

            It turns out that there is mismatch between password tooltip and the passwords regex itself:
             [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-632]

            {{"regex": "^(?=.*[A-Z])(?=.*[!@#$%])(?=.*[0-9])(?=.*[a-z]).\{12,16}$"}}

            This mismatch is causing confusion here.

             

            *Supply admin password*
             The admin password validation is broken. When providing the password {{Zh*wMRrPZJv}} we are told that the password must be at least 5 chars long. When a password of 5 chars is supplied we are told the same thing. Details of the password format are not provided either.

            [!image-2021-06-18-10-52-22-527.png|width=1204,height=773!|https://bulldog.internal.atlassian.com/secure/attachment/542724/542724_screenshot-3.png]

            Looking at the {{createUiDefinition.json}} we see that the password validation simply comprises a regex ensuring a string length between 12 and 17 chars is provided:

            [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-82]

            Sure enough if a string comprising any chars that is between 12 and 16 chars in length is supplied validation passes.

            The tooltip for this is wrong too ( {{This password must be a minimum of 5 characters long.}} ) , which explains the confusion through the UI:
             [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-83]
            h3. Actual Results

            Password tooltip and password regex do not match which is causing confusion
            h3. Expected Results

            Password tooltip conforms to the password regex. 
            h3. Workaround
             * For the admin passwords provide a string that is between 12 and 16 characters in length
             * For the database passwords provide a string that is between 12 and 16 characters in length and comprises an UPPERCASE and lowecase letter, a number and one of the following characters !@#$% 
            Dylan Rathbone made changes -
            Description Original: h3. Issue Summary

            Admin and Database password validation is broken when configuring a Confluence deployment via the Azure deployment UI.
            h3. Steps to Reproduce

            *Supply database password:*
             When providing a database password ( {{Zh*wMRrPZJvcYt8q}} ) that conforms to the password rules:
            {code:java}
            between 8 and 16 characters long, and must contain at least one uppercase letter, one lowercase letter, one number (0-9), and one non-alphanumeric character (!, $, #, %, etc.).
            {code}
            we are told that it is not valid...

            !image-2021-06-18-10-51-57-019.png|width=1366,height=656!

            It turns out that the password tooltip message indicating the format does not correspond to the passwords regex:
             [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-632]

            This mismatch between is causing the confusion here.

             

            *Supply admin password*
             The admin password validation is broken. When providing the password {{Zh*wMRrPZJv}} we are told that the password must be at least 5 chars long. When a password of 5 chars is supplied we are told the same thing. Details of the password format are not provided either.

            [!image-2021-06-18-10-52-22-527.png|width=1204,height=773!|https://bulldog.internal.atlassian.com/secure/attachment/542724/542724_screenshot-3.png]

            Looking at the {{createUiDefinition.json}} we see that the password validation simply comprises a regex ensuring a string length between 12 and 17 chars is provided:

            [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-82]

            Sure enough if a string comprising any chars that is between 12 and 16 chars in length is supplied validation passes.

            The tooltip for this is wrong too ( {{This password must be a minimum of 5 characters long.}} ) , which explains the confusion through the UI:
             [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-83]
            h3. Actual Results

            Password tooltip and password regex do not match which is causing confusion
            h3. Expected Results

            Password tooltip conforms to the password regex. 
            h3. Workaround
             * For the admin passwords provide a string that is between 12 and 16 characters in length
             * For the database passwords provide a string that is between 12 and 16 characters in length and comprises an UPPERCASE and lowecase letter, a number and one of the following characters !@#$% 
            New: h3. Issue Summary

            Admin and Database password validation is broken when configuring a Confluence deployment via the Azure deployment UI.
            h3. Steps to Reproduce

            *Supply database password:*
             When providing a database password ( {{Zh*wMRrPZJvcYt8q}} ) that conforms to the password rules:
            {code:java}
            between 8 and 16 characters long, and must contain at least one uppercase letter, one lowercase letter, one number (0-9), and one non-alphanumeric character (!, $, #, %, etc.).
            {code}
            we are told that it is not valid...

            !image-2021-06-18-10-51-57-019.png|width=1366,height=656!

            It turns out that there is mismatch between password tooltip and the passwords regex itself:
             [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-632]

            {{"regex": "^(?=.*[A-Z])(?=.*[!@#$%])(?=.*[0-9])(?=.*[a-z]).\{12,16}$"}}

            This mismatch between is causing the confusion here.

             

            *Supply admin password*
             The admin password validation is broken. When providing the password {{Zh*wMRrPZJv}} we are told that the password must be at least 5 chars long. When a password of 5 chars is supplied we are told the same thing. Details of the password format are not provided either.

            [!image-2021-06-18-10-52-22-527.png|width=1204,height=773!|https://bulldog.internal.atlassian.com/secure/attachment/542724/542724_screenshot-3.png]

            Looking at the {{createUiDefinition.json}} we see that the password validation simply comprises a regex ensuring a string length between 12 and 17 chars is provided:

            [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-82]

            Sure enough if a string comprising any chars that is between 12 and 16 chars in length is supplied validation passes.

            The tooltip for this is wrong too ( {{This password must be a minimum of 5 characters long.}} ) , which explains the confusion through the UI:
             [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-83]
            h3. Actual Results

            Password tooltip and password regex do not match which is causing confusion
            h3. Expected Results

            Password tooltip conforms to the password regex. 
            h3. Workaround
             * For the admin passwords provide a string that is between 12 and 16 characters in length
             * For the database passwords provide a string that is between 12 and 16 characters in length and comprises an UPPERCASE and lowecase letter, a number and one of the following characters !@#$% 
            Dylan Rathbone made changes -
            Description Original: h3. Issue Summary

            Admin and Database password validation is broken when configuring a Confluence deployment via the Azure deployment UI.
            h3. Steps to Reproduce

            *Supply database password:*
            When providing a database password ( {{Zh*wMRrPZJvcYt8q}} ) that conforms to the password rules:
            {code:java}
            between 8 and 16 characters long, and must contain at least one uppercase letter, one lowercase letter, one number (0-9), and one non-alphanumeric character (!, $, #, %, etc.).
            {code}
            we are told that it is not valid...

            [!_thumb_539320.png|thumbnail!|https://bulldog.internal.atlassian.com/secure/attachment/539320/539320_screenshot-1.png]

            It turns out that the password tooltip message indicating the format does not correspond to the passwords regex:
            [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-632]

            This mismatch between is causing the confusion here.

             

            *Supply admin password*
            The admin password validation is broken. When providing the password {{Zh*wMRrPZJv}} we are told that the password must be at least 5 chars long. When a password of 5 chars is supplied we are told the same thing. Details of the password format are not provided either.

            [!_thumb_542724.png|thumbnail!|https://bulldog.internal.atlassian.com/secure/attachment/542724/542724_screenshot-3.png]

            Looking at the {{createUiDefinition.json}} we see that the password validation simply comprises a regex ensuring a string length between 12 and 17 chars is provided:

            [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-82]

            Sure enough if a string comprising any chars that is between 12 and 16 chars in length is supplied validation passes.

            The tooltip for this is wrong too ( {{This password must be a minimum of 5 characters long.}} ) , which explains the confusion through the UI:
            [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-83]
            h3. Actual Results

            Password tooltip and password regex do not match which is causing confusion
            h3. Expected Results

            Password tooltip conforms to the password regex. 
            h3. Workaround
             * For the admin passwords provide a string that is between 12 and 16 characters in length
             * For the database passwords provide a string that is between 12 and 16 characters in length and comprises an UPPERCASE and lowecase letter, a number and one of the following characters !@#$% 
            New: h3. Issue Summary

            Admin and Database password validation is broken when configuring a Confluence deployment via the Azure deployment UI.
            h3. Steps to Reproduce

            *Supply database password:*
             When providing a database password ( {{Zh*wMRrPZJvcYt8q}} ) that conforms to the password rules:
            {code:java}
            between 8 and 16 characters long, and must contain at least one uppercase letter, one lowercase letter, one number (0-9), and one non-alphanumeric character (!, $, #, %, etc.).
            {code}
            we are told that it is not valid...

            !image-2021-06-18-10-51-57-019.png|width=1366,height=656!

            It turns out that the password tooltip message indicating the format does not correspond to the passwords regex:
             [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-632]

            This mismatch between is causing the confusion here.

             

            *Supply admin password*
             The admin password validation is broken. When providing the password {{Zh*wMRrPZJv}} we are told that the password must be at least 5 chars long. When a password of 5 chars is supplied we are told the same thing. Details of the password format are not provided either.

            [!image-2021-06-18-10-52-22-527.png|width=1204,height=773!|https://bulldog.internal.atlassian.com/secure/attachment/542724/542724_screenshot-3.png]

            Looking at the {{createUiDefinition.json}} we see that the password validation simply comprises a regex ensuring a string length between 12 and 17 chars is provided:

            [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-82]

            Sure enough if a string comprising any chars that is between 12 and 16 chars in length is supplied validation passes.

            The tooltip for this is wrong too ( {{This password must be a minimum of 5 characters long.}} ) , which explains the confusion through the UI:
             [https://bitbucket.org/atlassian/atlassian-azure-deployment/src/38e87d752181586a32e48ca5fe6761913e4a8359/confluence/createUiDefinition.json#lines-83]
            h3. Actual Results

            Password tooltip and password regex do not match which is causing confusion
            h3. Expected Results

            Password tooltip conforms to the password regex. 
            h3. Workaround
             * For the admin passwords provide a string that is between 12 and 16 characters in length
             * For the database passwords provide a string that is between 12 and 16 characters in length and comprises an UPPERCASE and lowecase letter, a number and one of the following characters !@#$% 
            Dylan Rathbone made changes -
            Attachment New: image-2021-06-18-10-52-22-527.png [ 405643 ]

              Unassigned Unassigned
              b56a0fbdbbcd Dylan Rathbone
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated: