Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
While attempting to run a D7 to D8 migration, I am receiving the following errors:
[error] SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'field_name_lon' when attempting to insert a value with the following longitude -111.8945042
When attempting to insert the value manually, it was working, but rounding the value to -99.99999..
After following the advice from this link I have resolved the issue by adjusting the field storage values.
https://stackoverflow.com/questions/12504208/what-mysql-data-type-should...
The attached patch seems to resolve the issue.
Comment | File | Size | Author |
---|---|---|---|
#2 | lon-oor-3057111-2.patch | 1.54 KB | mikedance |
Comments
Comment #2
mikedance CreditAttribution: mikedance as a volunteer commentedComment #4
itamair CreditAttribution: itamair as a volunteer commentedThanks @mikedance ... perfectly right.
Your patch was committed into the last dev, just rising precision to 12
Comment #5
itamair CreditAttribution: itamair as a volunteer commented