PO: SCHEME_RE.search(path): TypeError: expected string or buffer

Bug #698154 reported by Jim B. Glenn
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Won't Fix
Low
Unassigned
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

I doubt this is a high priority also.

Changed in karl3:
assignee: nobody → Chris Rossi (chris-archimedeanco)
importance: Undecided → Low
milestone: none → m52
Changed in karl3:
status: New → In Progress
Changed in karl3:
status: In Progress → Confirmed
Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

The two messages in quarantine with this error are both replies to a blog entry whose docid is not in the catalog. More than likely they are replies to a blog entry which was deleted. Arguably, this edge case should be handled more gracefully. A couple of options include:

1) Post the message as a new blog entry instead of as a reply. (Easy)

2) Reject the message, sending a bounce message to the user explaining that the post they are replying to is no longer in the system. (Harder but not too hard.)

You might think of other options as well.

Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

Traceback (most recent call last): File "/opt/karl/osi/3.31-0/src/karl/karl/utilities/mailin.py", line 226, in handle_message self.process_message(message, info, text, attachments) File "/opt/karl/osi/3.31-0/src/karl/karl/utilities/mailin.py", line 245, in process_message item = find_model(self.root, path) File "/opt/karl/osi/3.31-0/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/traversal.py", line 75, in find_model D = traverse(model, path) File "/opt/karl/osi/3.31-0/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/traversal.py", line 276, in traverse request = Request.blank(path) File "/opt/karl/osi/3.31-0/eggs/WebOb-0.9.8.0_osi1-py2.5.egg/webob/request.py", line 943, in blank if SCHEME_RE.search(path): TypeError: expected string or buffer

Changed in karl3:
milestone: m52 → m53
Changed in karl3:
milestone: m53 → m56
Changed in karl3:
assignee: Chris Rossi (chris-archimedeanco) → nobody
milestone: m61 → m999
status: Confirmed → Won't Fix
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.