tickets: 8957
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8957 | 2008-09-08 06:14:29 | 2008-09-15 11:12:02 | 2022-03-06 03:43:37.129534 | Unreviewed | closed | contrib.admin | dev | fixed | Typo in Admin validation exception message | If a prepopulated_fields value refers to a nonexistant field, the error message is in correct. So for: {{{ prepopulated_fields = {'slug': ['field_which_doesnt_exist']} }}} The error raised is: {{{ 'SomeAdmin.prepopulated_fields['field_which_doesnt_exist'][0]' refers to field 'field_which_doesnt_exist' that is missing from model 'Release'. }}} The expected error should finger 'slug' as the key with the offending source field: {{{ 'SomeAdmin.prepopulated_fields['slug'][0]' refers to field 'field_which_doesnt_exist' that is missing from model 'Release'. }}} This is a simple typo. Fix attached. | nobody | charmless | 0 | 1 | 0 | 0 | 0 | 0 |