This is part of META issue

#1931088: [META] Fixing tests

I just upgraded from 7.x-3.0-alpha3 to 7.x-3.0-alpha4. When I went to update the Location maplinks configuration at admin/config/content/location/maplinking, the following notice appears:

Notice: Undefined index: tos in location_map_link_options_form() (line 132 of /htdocs/sites/all/modules/contrib/location/location.admin.inc).

Comments

podarok’s picture

Version: 7.x-3.0-alpha4 » 7.x-3.x-dev
Issue tags: +Needs tests

tag

charlied’s picture

Same for me. At the same time I upgraded Gmap to 7.x-2.5-alpha3 and then today alpha4. The combined effect of the upgrade was for markers on map/node to disappear. Also (eg at node edit of location enabled content and at admin/config/services/gmap
) the default is that maps are fully zoomed out only occupying 20-40% of the window.

UPDATE after more testing...

Now done a series of clean installs with core7.21, gmap-7.x-2.4 and location-7.x-3.0-alpha1, alpha6 and Dev (15/3/13) using either a Location CCK or a Node Location (never both). The alpha 6 and Dev display the unidentified index error. None of these combinations show points on the node/map although the "Use a Google Map to set latitude and longitude" works. Installing views and querying the location data as an unfomatted list works, as a GMap doesn't.

mindbat’s picture

Also seeing this issue.

ieta_maher’s picture

Version: 7.x-3.x-dev » 7.x-3.0-alpha8

Same issue in alpha 8

podarok’s picture

Version: 7.x-3.0-alpha8 » 7.x-3.x-dev

let stay at dev version as it the newest one, so all previous releases affected

kingfisher64’s picture

I'm getting same notice using the feature http://drupal.org/project/ol_locator

Notice: Undefined index: tos in location_map_link_options_form() (line 132 of sites/all/modules/location/location.admin.inc).

Using alpha8.

nasia123’s picture

I am also getting the same notice after upgrading from 2.4 to 2.6
Notice: Undefined index: tos in location_map_link_options_form()

Also my markers are not showing now ...(I am using Location CCK and a view with latitude/longitude display fields)

alex72rm’s picture

That's the same for me. I'm using the latest -dev (installed today), and the notice is still there (admin/config/content/location/maplinking). Markers aren't visible too (I'm using location cck).

don@robertson.net.nz’s picture

I am getting the same error using Location 7.x-3.0-alpha8, gmap 7.x-2.6 and Drupal 7.22.

I also notice I am not getting the user locations showing up on the user location. If I enable the User Location Table in Views, no users show up, but if I change Lid from not empty to empty, the users do show up. No idea if this is related to the error - but hope it helps :-)

Don

gdhia’s picture

Version: 7.x-3.x-dev » 7.x-3.0-alpha9
Assigned: Unassigned » gdhia
Priority: Normal » Major

I am getting also that same error.
I have no map links activated. I have just configured main settings of location and then when I gone to map links page, i got the error Notice: Undefined index: tos in location_map_link_options_form() (line 132 of \sites\all\modules\location\location.admin.inc).

linksync’s picture

Anyone find a resolution to this issue?

JadH’s picture

Facing the same issue.

Anyone got this resolved?

vinmassaro’s picture

Status: Active » Needs review
StatusFileSize
new994 bytes

When this page is loaded, Greece is the only country not returning a valid TOS link to the Google Maps TOS, causing the undefined index error. Here is a patch against 7.x-3.x that adds the correct information for Greece to its country file to fix this problem. This patch also cleans up some extra lines.

podarok’s picture

Version: 7.x-3.0-alpha9 » 7.x-3.x-dev
Status: Needs review » Fixed

#13 commited pushed to 7.x-3.x
thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Updated issue summary.