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

Connecting to an Oracle database using a service name with dot(.) characters causes a UI validation error

XMLWordPrintable

      Issue Summary

      When connecting to an Oracle database using the Migration wizard, the presence of dot(.) characters in the service name causes a UI validation error. This seems to be affecting the UI only since the bitbucket.properties file does not seem to have an issue.

      Steps to Reproduce

      • Go to Administration > database > migrate database 
      • Select Oracle database and fill in dummy Oracle database details with a service name that has dot(.) characters
      • Test the connection

      Expected Results

      It should either connect to the database if the details are correct or fail to connect with a JDBC connection error if the database details are wrong.

      Actual Results

      A UI validation error is thrown, and no log entries are present in the Bitbucket logs.

      Please enter a value that is less than 255 characters and only consists of ASCII letters, numbers, underscores, and dashes (A-Z, a-z, 0-9, _, -)
      

      With dots:

      Without dots

      Workaround

      Set the connection details in the bitbucket.properties file.

              cf36c85a7bd3 Charlie Wang
              ced0c047cfeb Joel Mwangi
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: