Error when we delete the messages from an empty inbox

Bug #1199098 reported by Leo Arias
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Leo Arias

Bug Description

When we try to delete the messages from an inbox without message, the following error occurs:

  File "/mnt/jenkins/workspace/canonical-identity-provider-acceptance-dev-u1/working/.env/local/lib/python2.7/site-packages/u1testutils/", line 123, in delete_msgs_sent_to
  File "/mnt/jenkins/workspace/canonical-identity-provider-acceptance-dev-u1/working/.env/local/lib/python2.7/site-packages/u1testutils/", line 108, in delete_msgs_sent_to
    for num in reversed(data[0].split()):
AttributeError: 'NoneType' object has no attribute 'split'

We should first check if there are messages to delete.

Related branches

Changed in u1-test-utils:
status: In Progress → Fix Committed
Dave Morley (davmor2)
Changed in u1-test-utils:
importance: Undecided → Low
tags: added: u1-by-qa u1-on-dev
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers