#35477: Django 5.1a1 - unexpected error message
-----------------------------------------+------------------------
               Reporter:  אורי           |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  Uncategorized  |        Version:  5.1
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 Hi,

 I ran Speedy Net's tests with Django 5.1a1. Some tests failed with an
 unexpected error messages. These tests passed with Django versions 4.2.13
 and 5.0.6.

 To run these tests, run `./tests_manage_all_sites_with_all_warnings.sh
 test
 speedy.core.accounts.tests.test_views.EditProfileCredentialsViewEnglishTestCase
 --shuffle --test-all-languages` with `Django==5.1a1` installed. Here are
 the error messages:

 `'new_password1': ['This password is too short. It must contain at least 8
 characters.', 'This field is required.']` (the actual error message
 received)
 `'new_password1': ['This password is too short. It must contain at least 8
 characters.']` (the expected error message)

 It looks like the error message `"This field is required."` is unexpected
 and doesn't appear with Django versions 4.2.13 and 5.0.6. Notice that this
 field was not missing but too short. A similar problem happens when the
 new password is too long.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35477>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018fa90c460b-555db58e-8a42-459d-963b-01c8bda16d92-000000%40eu-central-1.amazonses.com.

Reply via email to