Fix bug infobox link URLs when using local sites.

Review Request #14461 — Created June 18, 2025 and submitted

Information

Review Board
release-7.1.x

Reviewers

The bug infobox was using local_site_reverse to create the link for
opening a bug, but was not passing the local site into that call. This
meant we'd get the wrong URL (or in the context of RBCommons, get an
error).

This change fixes that and adds some additional tests for the infobox,
including rendering with and without local sites.

Ran unit tests.

Summary ID
Fix bug infobox link URLs when using local sites.
The bug infobox was using `local_site_reverse` to create the link for opening a bug, but was not passing the local site into that call. This meant we'd get the wrong URL (or in the context of RBCommons, get an error). This change fixes that and adds some additional tests for the infobox, including rendering with and without local sites. Testing Done: Ran unit tests.
02ab14747ddfeb3ff78892fdad79b6286cf9279a
chipx86
  1. Ship It!
  2. 
      
maubin
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-7.1.x (b31b83e)