Opened 6 years ago

Closed 6 years ago

Last modified 6 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 Changed 6 years ago by Markus Holtermann

Owner: changed from nobody to Markus Holtermann
Status: newassigned

comment:2 Changed 6 years ago by Markus Holtermann

Has patch: set

comment:3 Changed 6 years ago by Tim Graham

Triage Stage: AcceptedReady for checkin

comment:4 Changed 6 years ago by Tim Graham <timograham@…>

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 Changed 6 years ago by Tim Graham <timograham@…>

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