limit_length_with_tooltip: 'object of type NoneType has no len()' (missing None guard)
Open
- Dominant language
- Python
- Stars
- 30
- Forks
- 3
- Avg merge
- 9h 22m
- Merged PRs (30d)
- 40
Description
🤖 Written by Claude
The `limit_length_with_tooltip` template tag does `if limit and len(text)` with no guard for `text` being `None`, raising `TypeError: object of type 'NoneType' has no len()`. The sibling function at line 86 already guards with `and text`.
Crashes the classification grouping detail page (sharianttest). One-line fix.
Location: `uicore/templatetags/js_tags.py:94`
**Rollbar:**
- https://app.rollbar.com/a/jimmy.andrews/fix/item/VariantGrid/7170
_(Filed from a 6-month Rollbar triage.)_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.