From 00a97a47fe3ad5f82677ea30cacbe08d817cd8ba Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Fri, 23 Feb 2018 14:48:18 +0000 Subject: [PATCH] Changed an exception handling to not depend on exceptions having a .msg element - Legacy-Id: 14687 --- changelog | 21 +++++++++++++++++++++ ietf/submit/forms.py | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/changelog b/changelog index d91ac482f..dffc0d1e1 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,24 @@ +ietfdb (6.72.4) ietf; urgency=medium + + This release addresses a quite annoying bug that could occur when saving + reviewer assignments, and widens the short floor indication string that + is shown on the agenda from 2 to 3 characters. + + * Rewrote the head-of-rotation review assignment loop to guarantee that + it will terminate. This should fix the 'gateway timeout' issues we've seen + lately, when review request volume in some review teams have been such that + multiple assignments to the head of queue members have triggered the issue. + + * Changed the floorplan short string from 2 to 3 characters, in order to + support things like London Hilton Metropole's level -3E, 3rd lower ground + floor East. + + * Changed the arguments to the xml2rfc parser to use normalize=True, in + alignment with xml2rfc internal use. + + -- Henrik Levkowetz 22 Feb 2018 15:01:00 -0800 + + ietfdb (6.72.3) ietf; urgency=medium This release provides a bugfix and updates a requirement to avoid versions diff --git a/ietf/submit/forms.py b/ietf/submit/forms.py index 28b08b121..998dd957d 100644 --- a/ietf/submit/forms.py +++ b/ietf/submit/forms.py @@ -148,7 +148,7 @@ class SubmissionBaseUploadForm(forms.Form): self.xmltree = parser.parse(normalize=True) ok, errors = self.xmltree.validate() except Exception as exc: - raise forms.ValidationError("An exception occurred when trying to process the XML file: %s" % exc.msg) + raise forms.ValidationError("An exception occurred when trying to process the XML file: %s" % exc) if not ok: # Each error has properties: #