Closed Bug 967644 Opened 10 years ago Closed 10 years ago

AttributeError: 'NoneType' object has no attribute 'developer_name'

Categories

(Marketplace Graveyard :: Developer Pages, defect, P2)

Avenir
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: robhudson, Unassigned)

References

()

Details

Another case to investigate. Perhaps latest_version is None when the app is rejected?

Sentry URL:

http://sentry.mktmon.services.phx1.mozilla.com/mkt/marketplacefirefoxcom/group/3801/


Aggregate Details:

* First Seen: 21 hours ago
* Last Seen: 21 hours ago
* Number of tracebacks: undefined


Traceback:

Stacktrace (most recent call last):

  File "django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "amo/decorators.py", line 157, in wrapper
    return f(*args, **kw)
  File "amo/decorators.py", line 149, in wrapper
    return f(*args, **kw)
  File "python2.6/contextlib.py", line 34, in __exit__
    self.gen.throw(type, value, traceback)
  File "amo/models.py", line 38, in skip_cache
    yield
  File "amo/decorators.py", line 149, in wrapper
    return f(*args, **kw)
  File "waffle/decorators.py", line 36, in _wrapped_view
    return view(request, *args, **kwargs)
  File "addons/decorators.py", line 34, in wrapper
    return f(request, addon, *args, **kw)
  File "amo/decorators.py", line 32, in wrapper
    return func(request, *args, **kw)
  File "mkt/developers/decorators.py", line 65, in wrapper
    return fun()
  File "mkt/developers/decorators.py", line 28, in <lambda>
    *args, **kw)
  File "mkt/developers/views.py", line 383, in content_ratings_edit
    jinja2.escape(addon.latest_version.developer_name))),
Priority: -- → P2
I cannot reproduce. This has only happened once. The app is now deleted. I tested that a deleted app correctly returns a 404 for this url. Closing and will reopen if it pops up again or we find STR.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.