(GCFE Prod) Missing docid in forums event, add comment

Bug #614370 reported by Jim B. Glenn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Low
Tres Seaver

Bug Description

Reported via error monitor

ENTRY
Fri Aug 6 06:38:32 2010
Exception when processing https://csef-karl.org/offices/csef/forums/csef-events/csef-fc-meeting-accra-ghana-14-to-17-july-2010/comments/add_comment.html
Traceback (most recent call last):
  File "/opt/karl/gcfe/3.0.1-1/src/karl/karl/errorlog.py", line 15, in middleware
    return app(environ, start_response)
  File "/opt/karl/gcfe/3.0.1-1/eggs/repoze.zodbconn-0.11-py2.5.egg/repoze/zodbconn/connector.py", line 21, in __call__
    result = self.next_app(environ, start_response)
  File "/opt/karl/gcfe/3.0.1-1/eggs/repoze.retry-0.9.4-py2.5.egg/repoze/retry/__init__.py", line 88, in __call__
    app_iter = self.application(environ, replace_start_response)
  File "/opt/karl/gcfe/3.0.1-1/eggs/repoze.tm2-1.0a5-py2.5.egg/repoze/tm/__init__.py", line 23, in __call__
    result = self.application(environ, save_status_and_headers)
  File "/opt/karl/gcfe/3.0.1-1/eggs/Paste-1.7.2-py2.5.egg/paste/registry.py", line 350, in __call__
    app_iter = self.application(environ, start_response)
  File "/opt/karl/gcfe/3.0.1-1/eggs/repoze.who-1.0.15-py2.5.egg/repoze/who/middleware.py", line 107, in __call__
    app_iter = app(environ, wrapper.wrap_start_response)
  File "/opt/karl/gcfe/3.0.1-1/eggs/repoze.browserid-0.3-py2.5.egg/repoze/browserid/middleware.py", line 127, in __call__
    return self.app(environ, start_response)
  File "/opt/karl/gcfe/3.0.1-1/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/router.py", line 130, in __call__
    response = view_callable(context, request)
  File "/opt/karl/gcfe/3.0.1-1/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1520, in __call__
    return view(context, request)
  File "/opt/karl/gcfe/3.0.1-1/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1805, in attr_view
    return view(context, request)
  File "/opt/karl/gcfe/3.0.1-1/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1738, in predicate_wrapper
    return view(context, request)
  File "/opt/karl/gcfe/3.0.1-1/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1753, in _secured_view
    return view(context, request)
  File "/opt/karl/gcfe/3.0.1-1/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1704, in _rendered_view
    response = view(context, request)
  File "/opt/karl/gcfe/3.0.1-1/eggs/repoze.bfg.formish-0.3-py2.5.egg/repoze/bfg/formish/zcml.py", line 174, in __call__
    return submitted(request, form, controller, self.action, controller)
  File "/opt/karl/gcfe/3.0.1-1/eggs/repoze.bfg.formish-0.3-py2.5.egg/repoze/bfg/formish/zcml.py", line 213, in submitted
    result = getattr(controller, handler)(converted)
  File "/opt/karl/gcfe/3.0.1-1/src/karl/karl/content/views/commenting.py", line 185, in handle_submit
    alerts.emit(comment, request)
  File "/opt/karl/gcfe/3.0.1-1/src/karl/karl/utilities/alerts.py", line 57, in emit
    self._send_immediately(context, profile, request)
  File "/opt/karl/gcfe/3.0.1-1/src/karl/karl/utilities/alerts.py", line 64, in _send_immediately
    mailer.send(alert.mfrom, alert.mto, alert.message)
  File "/opt/karl/gcfe/3.0.1-1/src/karl/karl/content/views/adapters.py", line 280, in message
    docid_to_hex(blogentry.docid),
AttributeError: 'NoneType' object has no attribute 'docid'

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Yeh, this is an odd one to be getting.

Changed in karl3:
assignee: nobody → Chris Rossi (chris-archimedeanco)
importance: Undecided → Low
milestone: none → m45
summary: - (GCFE Prod) Error in forums event, add comment
+ (GCFE Prod) Missing docid in forums event, add comment
Changed in karl3:
assignee: Chris Rossi (chris-archimedeanco) → Tres Seaver (tseaver)
Tres Seaver (tseaver)
Changed in karl3:
status: New → In Progress
Revision history for this message
Tres Seaver (tseaver) wrote :

Fix and test committed to the karl trunk in r6005.

Changed in karl3:
status: In Progress → Fix Committed
Revision history for this message
JimPGlenn (jpglenn09) wrote :

fixed

Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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