New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 722960 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 722451



Sign in to add a comment

Fix /waterfall/obscure-emails due to unexpected assignment of None to triage_record_last_add

Project Member Reported by st...@chromium.org, May 16 2017

Issue description

The error looks like below. Query returns entities without triage record at all.

'NoneType' object is not iterable
Traceback (most recent call last):
  File "/base/data/home/apps/s~findit-for-me/waterfall-frontend:05614928c.401142640151602819/gae_libs/handlers/base_handler.py", line 185, in _Handle
    result = handler_func() or {}
  File "/base/data/home/apps/s~findit-for-me/waterfall-frontend:05614928c.401142640151602819/handlers/obscure_emails.py", line 115, in HandleGet
    failure_triage_count = _ObscureTriageRecordsInWfAnalysis()
  File "/base/data/home/apps/s~findit-for-me/waterfall-frontend:05614928c.401142640151602819/handlers/obscure_emails.py", line 40, in _ObscureTriageRecordsInWfAnalysis
    for triage_record in entity.triage_history:
TypeError: 'NoneType' object is not iterable
 

Comment 1 by st...@chromium.org, May 16 2017

Status: Fixed (was: Started)
This should be fixed by https://chromium-review.googlesource.com/c/506848/

Sign in to add a comment