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

Review Request #11470 — Created Feb. 15, 2021 and submitted — Latest diff uploaded

Information

Review Board
release-4.0.x

Reviewers

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.

Commits

Files

    Loading...