[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #6762 [Atlas]: Make Atlas more robust to inconsistent Onionoo replies
#6762: Make Atlas more robust to inconsistent Onionoo replies
---------------------+------------------------------------------------------
Reporter: karsten | Owner: hellais
Type: defect | Status: new
Priority: minor | Milestone:
Component: Atlas | Version:
Keywords: | Parent:
Points: | Actualpoints:
---------------------+------------------------------------------------------
When Onionoo lists a relay in its summary document but doesn't have a
details document for that relay, Atlas will run into a "TypeError: relay
is undefined" in js/models/relay.js in $.getJSON() in the lookup function.
The effect is that Atlas shows "undefined" in its results. The fix is for
Atlas to not rely on Onionoo always having a details document. (The other
fix is to make Onionoo not return inconsistent replies, but that's
something that the database-based Pyonionoo will fix.)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6762>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs