~mwhudson/lava-dashboard/repeated-testcase-name-oops

Viewing all changes in revision 234.

  • Committer: Zygmunt Krynicki
  • Date: 2011-06-29 09:46:08 UTC
  • mfrom: (193.2.1 launch-control)
  • Revision ID: zygmunt.krynicki@linaro.org-20110629094608-2aj3m4f15ao1nivl
Handle DashboardAPI.make_stream(name=None) properly

Work around bug https://bugs.launchpad.net/lava-dashboard/+bug/771182. Older
clients would send None as the name and this would trigger an IntegrityError to
be raised by BundleStream.objects.create() which in turn would be captured by
the fault handler and reported as an unrelated issue to the user. Let's work
around that by using an empty string instead.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: