Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-4676

Possible to save a JIRA User Directory with wrong Application name and/or Application password

      Steps to reproduce the bug:

      • Go to Administration cog icon >> User Directories >> Add Directory (button) >> Choose JIRA and Next
      • On the form, add the right parameters and configure click the Test button. This gives you a "Success" message.
      • Now, before you click the "Save and Test" button, change either the Application name or Application password parameters to invalid ones
      • Stash saves it just fine. You will later get the logs below as it tries to sync:
      2014-05-07 10:06:57,751 ERROR [scheduler_Worker-7]  c.a.c.d.DbCachingDirectoryPoller Error occurred while refreshing the cache for directory [ 2097154 ].
      com.atlassian.crowd.exception.OperationFailedException: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate
      ...
      ...
      
      • When you click "Save and Test" Stash should run the tests it did before and don't Save the directory in case the "Application name and/or Application password" are wrong as the user can change those parameters by mistake in the middle of the process.
      • Workaround: review the Application name and/or Application password parameters

          Form Name

            [BSERV-4676] Possible to save a JIRA User Directory with wrong Application name and/or Application password

            Conny Postma made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 122856 ]
            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 1447466 ] New: JAC Bug Workflow v3 [ 3136722 ]
            Owen made changes -
            Workflow Original: Stash Workflow [ 683981 ] New: Stash Workflow - Restricted [ 1447466 ]
            sguio made changes -
            Component/s New: Crowd [ 34103 ]
            sguio made changes -
            Labels Original: fire-backlog New: da-external fire-backlog
            Nick made changes -
            Comment [ watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4

            watch hd live =======>http://tinyurl.com/o5anfo4
            ]
            Kristy made changes -
            Fix Version/s New: 4.2.0 [ 59390 ]
            Resolution New: Fixed [ 1 ]
            Status Original: To be reviewed [ 10026 ] New: Closed [ 6 ]
            Brent P made changes -
            Sprint Original: Bitbucket Fire 4.1 W3, Bitbucket Fire 4.1 W4 [ 2667, 2691 ] New: Bitbucket Fire 4.1 W3, Bitbucket Fire 4.1 W4, Bitbucket Fire 4.1 W5 [ 2667, 2691, 2706 ]
            Brent P made changes -
            Global Rank New: Ranked higher
            Kristy made changes -
            Remote Link New: This issue links to "EMBCWD-998 (Ecosystem JIRA)" [ 133573 ]

              khughes@atlassian.com Kristy
              tbomfim ThiagoBomfim (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: