[UI] Fix NoneType error in entity_detail route

← All Specs

[UI] Fix NoneType error in entity_detail route

ID: eb0e09ed-9d3 Priority: 95 Type: one_shot Status: open

Goal

[UI] Fix NoneType error in entity_detail route

Acceptance Criteria

☑ Concrete deliverables created
☑ Work log updated with timestamped entry

Work Log

2026-04-13 23:30 PT — Slot minimax:53

  • Investigated entity_detail route for NoneType error
  • Found _edge_rows function vulnerable to NoneType error when e["relation"] or e[type_key] are NULL
  • The fix from f5224f3cb was applied to a function (_entity_detail_render) that no longer exists after refactoring
  • Applied same fix pattern: use .get() with defaults instead of direct subscript access
  • Tested: /entity/FOXP1 and /entity/TREM2 both return HTTP 200
  • Committed: 285585e62 [task:eb0e09ed-9d37-42a8-8524-74463d079354]

Tasks using this spec (1)
[UI] Fix NoneType error in entity_detail route
UI done P95
File: eb0e09ed_9d3_spec.md
Modified: 2026-05-01 20:13
Size: 0.8 KB