Opened 6 years ago
Closed 6 years ago
#29792 closed Bug (fixed)
GeometryFields do not preserve Oracle specific fields in migrations
Description ¶
GeometryFields do have two attributes that are Oracle specific extent
and tolerance
when doing migrations both are missing and thus are reset to default values.
Extent affects r-tree generation and tolerance affects some spatial operations.
Change History (8)
comment:1 by , 6 years ago
Component: | Uncategorized → GIS |
---|---|
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → Bug |
Version: | 2.1 → master |
comment:2 by , 6 years ago
Summary: | GeometryFields do not preserve Oracle spesific fields in migrations → GeometryFields do not preserve Oracle specific fields in migrations |
---|
comment:3 by , 6 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:6 by , 6 years ago
Patch needs improvement: | unset |
---|
Second round. Made changes suggested in review.
comment:7 by , 6 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
I didn't reproduce but the report looks legit by looking at
GeometryField.deconstruct
.https://github.com/django/django/blob/90d93a1b425c0e6e3d88afa9fff78790300e1e38/django/contrib/gis/db/models/fields.py#L239-L246