Skip to content

App Config > "Git Repository" page shows error if git account is disabled #872

@dheeth

Description

@dheeth

Checklist:

  • I've searched in the docs and FAQ for my answer
  • I've included steps to reproduce the bug.

Describe the bug

If git account is disabled from global configuration, then Git repository page shows "We encountered an error"

To Reproduce

  1. Have only 1 Git Account Added in Git accounts section
  2. Create a new app
  3. Move to App Configuration > Git Repository

Expected behavior

Error shouldn't be there, but I shouldn't be able to select any Git account from dropdown
OR
A message should be displayed to enable at least 1 Git Account first

Current behavior

It just crashes with We encountered an error

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions