Skip to content

v0.3.2 - Hotfix: polarity selector + detail-page maps

Choose a tag to compare

@iamjohnnymac iamjohnnymac released this 18 May 12:06
80b7ec8

Second hotfix after v0.3.0. Two bugs found during live-verify.

Fixed

  • MTP harness deploy form now exposes the polarity selector. v0.3.0 added polarity to MtpHarnessForm but mtp_harness_deploy.html renders each field explicitly with {% render_field form.X %} rather than iterating the form. One-line template fix.
  • Per-object detail-page maps now use the shared base-layer manager (online + offline fallback). The detail-page maps previously only fetched from the local MBTiles proxy with no online fallback. The bundled basemap covers a Wheatstone bbox; any other geography rendered as a blank dark canvas with just the marker pin. spliceclosure.html and ospcable.html now hook OspBaseLayers.attach(map, null, tileUrl) — same multi-layer behaviour as the main /plugins/osp/map/, no dropdown on the small detail maps. Pre-existing bug; not a v0.3.x regression.
pip install -U netbox-osp