Closed (fixed)
Project:
GMap Module
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Dec 2008 at 07:14 UTC
Updated:
12 Jan 2009 at 19:20 UTC
Clicking on the "Regenerate" button from the gmap marker cache from the /admin/settings/gmap page does not reliably rebuild the marker cache, at least when using the cache_router module with the memcache engine.
The attached patch solves the problem, by making the following changes:
gmap_regenerate_markers()
gmap_set_marker_titles()
gmap_flush_caches()
Patch generated via "cvs diff" command relative to today's HEAD checkout.
| Comment | File | Size | Author |
|---|---|---|---|
| gmap-cache.diff | 2.73 KB | pillarsdotnet |
Comments
Comment #1
bdragon commentedCommitted, with changes.
There's no need to add a parameter to gmap_regenerate_markers, it's supposed to always do a full reset of stuff anyway.
Good call on the hook_flush_caches() change.
Logic cleanup seems fine.
Committed to HEAD. Committed to DRUPAL-5 as well, except for hook_flush_caches(), as that wasn't in 5.
http://drupal.org/cvs?commit=161355
http://drupal.org/cvs?commit=161357