Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#28051 closed Bug (fixed)

Index names are being overridden in ModelState

Reported by: Markus Holtermann Owned by: Markus Holtermann
Component: Migrations Version: 1.11
Severity: Release blocker Keywords:
Cc: Marc Tamlyn 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

Despite setting the name attribute in the constructor of the Index class, the name is auto-generated in ModelState. This is unintentional as that name will then end up in the database

Change History (5)

comment:1 by Markus Holtermann, 8 years ago

Owner: changed from nobody to Markus Holtermann
Status: newassigned

comment:2 by Markus Holtermann, 8 years ago

Has patch: set

comment:3 by Tim Graham, 8 years ago

Triage Stage: AcceptedReady for checkin

comment:4 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: assignedclosed

In d3cf75ec:

Fixed #28051 -- Made migrations respect Index's name argument.

Thanks Marc Tamlyn for the report and Tim Graham for the review.

comment:5 by Tim Graham <timograham@…>, 8 years ago

In f9d2a20d:

[1.11.x] Fixed #28051 -- Made migrations respect Index's name argument.

Thanks Marc Tamlyn for the report and Tim Graham for the review.

Backport of d3cf75ec6fbdd2c1f1bb1e6ccb48d4de1da2952b from master

Note: See TracTickets for help on using tickets.
Back to Top