ValidationError & CriticalValidationError raise assertion errors since translation update
Reported by: |
django@… |
Owned by: |
hugo |
Component:
|
Validators
|
Version:
|
|
Severity:
|
normal
|
Keywords:
|
|
Cc:
|
|
Triage Stage:
|
Unreviewed
|
Has patch:
|
no
|
Needs documentation:
|
no
|
Needs tests:
|
no
|
Patch needs improvement:
|
no
|
Easy pickings:
|
no
|
UI/UX:
|
no
|
ValidationError and CriticalValidationError apply the following assertion to error message text:
assert isinstance(message, basestring), ("%s should be a string" % repr(message))
This causes AssertionErrors for messages wrapped with gettext_lazy()
Change History
(5)
Resolution: |
→ fixed
|
Status: |
new → closed
|
Resolution: |
fixed
|
Status: |
closed → reopened
|
Owner: |
changed from Adrian Holovaty to hugo
|
Status: |
reopened → new
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Somewhere along the way this one got fixed.