[tor-bugs] #18989 [Metrics/Atlas]: No Country image for Lativa
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Jan 7 15:54:26 UTC 2017
#18989: No Country image for Lativa
---------------------------+---------------------
Reporter: alenan | Owner: phw
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Metrics/Atlas | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------+---------------------
Comment (by karsten):
I just looked at this ticket again and believe that the only bug that
remains is that Atlas shouldn't display the non-existent image file
`"img/cc/.png"` when a relay doesn't have a `"country"` field.
Apparently, this already works in the results table which contains just
`<td></td>` when there's no country flag to display. But the details page
tries to put in `<dd><img class="inline country" title=""
src="img/cc/.png"></dd>` which does not exist.
Here's how to reproduce this issue: Run
[https://onionoo.torproject.org/details?fields=fingerprint,country this
Onionoo query], scroll down to the first match that doesn't contain a
`"country"` (most do contain one), search for that fingerprint into Atlas,
observe how there's no country flag in the results table and broken image
on the details page.
Once this Atlas bug is fixed, this ticket can be closed, TTBOMK.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18989#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list