OOPS when submitting a comment on an MP with a single newline
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lazr.restful |
Fix Released
|
Critical
|
Colin Watson |
Bug Description
I was trying to submit some inline comments on an MP and by some random coincidence there was a single newline in the global comment textarea. When clicking "Save" I got the following:
"Server error, please contact an administrator. OOPS ID:OOPS-875bdd9cf06e4ca361b115bc46c5f6c9"
The oops' traceback:
IndexError: list index out of range
Traceback (most recent call last):
Module zope.publisher.
result = publication.
Module lazr.restful.
WebServiceP
Module lp.services.
return mapply(ob, request.
Module zope.publisher.
return debug_call(obj, args)
- __traceback_info__: <security proxied lazr.restful.
Module zope.publisher.
return obj(*args)
Module lazr.restful.
result = self.do_POST()
Module lazr.restful.
return self.handleCust
Module lazr.restful.
value = super(EntryReso
Module lazr.restful.
return operation()
Module lazr.restful.
values, errors = self.validate()
Module lazr.restful.
self.
Module lazr.restful.
value = v[0]
IndexError: list index out of range
As per Colin debugging, this is related to a workaround LP has for https:/
Related branches
- Natalia Bidart (community): Approve
- LAZR Developers: Pending requested
-
Diff: 54 lines (+10/-8)3 files modifiedsrc/lazr/restful/NEWS.txt (+3/-0)
src/lazr/restful/docs/webservice-marshallers.txt (+4/-0)
src/lazr/restful/marshallers.py (+3/-8)
summary: |
- OOPS when submitting a "global" comment with a single newline + OOPS when submitting a comment with a single newline |
summary: |
- OOPS when submitting a comment with a single newline + OOPS when submitting a comment on an MP with a single newline |
Changed in lazr.restful: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Colin Watson (cjwatson) |
tags: | added: oops |
Changed in lazr.restful: | |
status: | In Progress → Fix Committed |
Fixed in lazr.restful 0.21.0, now deployed on Launchpad production.