Changed an exception handling to not depend on exceptions having a .msg element

- Legacy-Id: 14687
This commit is contained in:
Henrik Levkowetz 2018-02-23 14:48:18 +00:00
parent 8a9dcfc856
commit 00a97a47fe
2 changed files with 22 additions and 1 deletions

View file

@ -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 <henrik@levkowetz.com> 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

View file

@ -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:
#