Show the hosting service auth form if it has any errors.

Review Request #10640 — Created July 19, 2019 and submitted

Information

Review Board
release-4.0.x
5b95312...

Reviewers

If editing credentials for an existing account entry for a hosting
service, and validation fails on any of the fields, the auth form would
be hidden, hiding the fact that anything was wrong.

We now check whether there are any errors to show, and ensure we always
show the form if any are found.

Hit this while testing a change to Bitbucket. Verified that the form
would always show up when triggering a validation failure, but was
otherwise hidden if the fields passed validation.

Description From Last Updated

Col: 67 Expected '===' and instead saw '=='.

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 passed.
JSHint failed.

JSHint

chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.0.x (aa937ca)