Fix showing the base directory on the New Review Request page.

Review Request #11470 — Created Feb. 16, 2021 and submitted

chipx86
Review Board
release-4.0.x
4911
reviewboard

A typo in a context variable name led to a regression with uploading
diffs in the New Review Request page that required a base directory. The
correct variable name was requiresBasedir. but it was typoed to
requiresBaseDir.

This change fixes the typo, and adds unit tests to ensure this and other
context variables won't regress in the future.

Unit tests pass.

Verified the field was present for Subversion repositories.

Summary
Fix showing the base directory on the New Review Request page.
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.0.x (b2ef548)
Loading...