Closed (won't fix)
Project:
Geolocation Field
Version:
7.x-1.x-dev
Component:
Geolocation Field / Backend
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
13 Oct 2015 at 21:06 UTC
Updated:
12 Apr 2022 at 09:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
uzlov commentedComment #3
derjochenmeyer commentedShouldn't this patch implement
hook_update_N?Comment #4
uzlov commentedI think, nope
for what? yes - we have changes in hook_field_schema
but after update we will have simply 0 for altitude value
'alt' => array(
'description' => 'Stores the altitude value',
'type' => 'float',
'size' => 'big',
'not null' => TRUE,
>>'default' => 0,
),
Comment #6
derjochenmeyer commentedWhat if you use 7.x-1.6 and want to use the "alt" value after an update? The the database field defaults to 0 but its not there in 7.x-1.6+? My understanding was that we need hook_update_N to create the altitude in all geolocation tables for existing installations.
Btw. maybe its better to name the column 'altitude' instead of 'alt' since it could be confused with image 'alt'?
Comment #7
derjochenmeyer commentedRe-rolled patch.
Comment #9
derjochenmeyer commentedGrr...
Comment #10
derjochenmeyer commentedGrrr...
Comment #11
anthorn305 commentedSorry, ignore my comment, I need this for D8
Comment #12
christianadamski commentedClosing all 7.x issues. It's time.