Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-10912

"Error looking up submodules" warning is misleading in case of nested Git repositories

    XMLWordPrintable

Details

    • Suggestion
    • Status: Gathering Interest (View Workflow)
    • Resolution: Unresolved
    • None
    • None
    • None
    • 1
    • 1
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Summary

      When displaying a git repository within another repository, the Bitbucket Server user interface shows an "empty repository" (the page containing the instructions to push a new repository).

      Steps to Reproduce

      1. Copy a git repository within an existing git repository
      2. Push the repository to Bitbucket Server
      3. Open the repository in the user interface

      Expected Results

      The repository shows either an error or the displayable part of the repository.

      Actual Results

      The below exception is thrown in the atlassian-bitbucket.log file:

      WARN  [io-pump:thread-7] <username> @DEV2A4x508x167x0 gd3sg1 <ip address> "GET /projects/<project_slug>/repos/<repo_key>/browse HTTP/1.1" c.a.s.i.s.g.s.DefaultGitSubmoduleHelper Error looking up submodules for 'refs/heads/master' in '<project_slug>/<repo_key>[<repo_id>]'
      

      Notes

      Having a nested Git repository is not supported.

      Workaround

      To display the repository in the Bitbucket Server user interface, remove the nested Git repository.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ccurti Caterina (or Kate) Curti
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: