#7885 closed (fixed)
Prevent duplicates in fields and fieldsets declarations
Reported by: | Julien Phalip | Owned by: | wamberg |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The patch I did for #4305 was only fixing the issue for 'fieldsets', so I closed it in favour of this ticket, which also takes care of 'fields'.
The attached patch prevents the multiple declarations of fields in the 'fields' and 'fieldsets' attributes. This is to prevent some confusion, having a same field multiple times in a form not making much sense and potentially leading to some unexpected behaviour when saving. Patch also contains tests.
Attachments (2)
Change History (7)
by , 16 years ago
Attachment: | duplicate_field_declarations.diff added |
---|
comment:1 by , 16 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 16 years ago
Owner: | changed from | to
---|
by , 16 years ago
Attachment: | duplicate_field_declarations_2.diff added |
---|
Added python2.3 support to previous patch.
comment:3 by , 16 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Ready for checkin with Malcolm's blessing at DC Sprint
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch + tests