Bug 137267 - Windows EWS went purple when it failed to build
Summary: Windows EWS went purple when it failed to build
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
Depends on:
Reported: 2014-09-30 14:12 PDT by Alexey Proskuryakov
Modified: 2014-09-30 14:30 PDT (History)
2 users (show)

See Also:

proposed fix (1.99 KB, patch)
2014-09-30 14:25 PDT, Alexey Proskuryakov
rniwa: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2014-09-30 14:12:01 PDT
There seems to be something strange about Windows EWS - its bubble doesn't show up at first, and when it failed to build, it went purple instead of orange.
Comment 1 Alexey Proskuryakov 2014-09-30 14:15:32 PDT
I think that I know what it is, it's a bug in Attachment._calculate_queue_positions.

        all_work_items = WorkItems.all().fetch(limit=len(Queue.all()))

This only fetches as many queues as we have configured now - but we've deleted many queues, and they are still in the table. So we fail to fetch work items for some queues.
Comment 2 Alexey Proskuryakov 2014-09-30 14:25:25 PDT
Created attachment 238962 [details]
proposed fix
Comment 3 Alexey Proskuryakov 2014-09-30 14:30:42 PDT
Committed <http://trac.webkit.org/r174124>.