• 
      

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

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

    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.

    Summary ID
    Fix showing the base directory on the New Review Request page.
    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.
    28d7e18dc8602f19320e073b1388985e3d7af035
    chipx86
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-4.0.x (b2ef548)