AttributeError: 'NoneType' object has no attribute 'items' in +preview-diff

Bug #1020439 reported by Diogo Matsubara
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Steve Kowalik
lazr.restful
Fix Released
High
Steve Kowalik

Bug Description

OOPS-abc3fd30e23694ebcb393beb4f0d05bb shows an AttributeError: 'NoneType' object has no attribute 'items' in +preview-diff page

    Traceback (most recent call last):
  Module zope.publisher.publish, line 134, in publish
    result = publication.callObject(request, obj)
  Module lazr.restful.publisher, line 211, in callObject
    WebServicePublicationMixin, self).callObject(request, object)
  Module lp.services.webapp.publication, line 499, in callObject
    return mapply(ob, request.getPositionalArguments(), request)
  Module zope.publisher.publish, line 109, in mapply
    return debug_call(obj, args)
   - __traceback_info__: <security proxied lazr.restful._resource.EntryResource instance at 0x202c2bd0>
  Module zope.publisher.publish, line 115, in debug_call
    return obj(*args)
  Module lazr.restful._resource, line 914, in __call__
    result = self.do_GET()
  Module lazr.restful._resource, line 1547, in do_GET
    media_type = self.handleConditionalGET()
  Module lazr.restful._resource, line 329, in handleConditionalGET
    existing_etag = self.getETag(media_type)
  Module lazr.restful._resource, line 431, in getETag
    etag_cores = self._getETagCores(cache)
  Module lazr.restful._resource, line 1421, in _getETagCores
    name, self._unmarshallField(name, field)[1])
  Module lazr.restful._resource, line 812, in _unmarshallField
    repr_value = marshaller.unmarshall(self.entry, value)
  Module lazr.restful.marshallers, line 542, in unmarshall
    for key, val in value.items())
AttributeError: 'NoneType' object has no attribute 'items'

Related branches

Revision history for this message
Steve Kowalik (stevenk) wrote :

OOPS-80637db2866d2f93f1a93f83215a23ba is a modern OOPS.

Steve Kowalik (stevenk)
Changed in launchpad:
assignee: nobody → Steve Kowalik (stevenk)
Steve Kowalik (stevenk)
Changed in lazr.restful:
status: New → In Progress
importance: Undecided → High
Steve Kowalik (stevenk)
Changed in lazr.restful:
status: In Progress → Fix Released
milestone: none → 0.9.18
assignee: nobody → Steve Kowalik (stevenk)
Revision history for this message
Steve Kowalik (stevenk) wrote :

OOPS-9a7936cd4313d78c389d8686a56ff288

Steve Kowalik (stevenk)
Changed in launchpad:
status: Triaged → Fix Committed
tags: added: qa-needstesting
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.