Closed (fixed)
Project:
GMap Module
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2006 at 23:34 UTC
Updated:
21 Sep 2007 at 19:11 UTC
New nodes get added to the map, no problem. When I try to add nodes that existed before I installed gmap, though, they won't show up. Strangely, the lat & long are saving for these nodes -- they're just not displaying.
I'm using the current 4.7 release of gmap (09.01.2006) & the current 4.7 release of location (09.09.2006).
Suggestions?
Comments
Comment #1
webgeer commentedWhen you say it "they wont show up" what do you mean. Do you mean that these nodes are not on the map/node page, or that the block showing the location for that node wont show up, or something else (views, feeds etc...)
If it is that it doesn't show on map/node do a view source and see if the the nodes are included in the list of createGMarker(...) (should be obvious by the text.)
If not then the only thing I can suggest is look carefully at the location table in the database and see if there are differences between the old and new ones to see if we can figure out where the problem is.
Comment #2
two2the8 commentedSorry, ya -- I meant that they won't show up on map/node. When I view source, I only see the newly added nodes in the GMarker list. I will take a look at the database tables & see what I can see. Thanks for your help.
Comment #3
two2the8 commentedHere's the location table output from location table on two nodes. First, one that doesn't display on the map:
Then, the output from one that does display:
The ultra-strange thing to note is that the latter node (249), which does display on the map, is actually older than the former one (286), which doesn't display on the map... Which means (I think) that I characterized the problem incorrectly.
Upon further inspection, it looks like the problem is this: If I create a brand-new node & add lat & long to it at time of creation, that node will show up on the map. If I edit an existing node & add lat & long to it, that node won't show up on the map. So, to explain the strange behaviour mentioned above: 249 had lat & long added to it at time of creation, while 286 didn't.
Another strange piece of this is that the lat&long are auto-filled when I attempt to edit 286, even though the location table for that node is empty.
Thanks again for any help you can give.
Comment #4
two2the8 commentedOn even further inspection, it looks like disabling the Location module fixes the problem mentioned above, ie. newly created & edited nodes both get added to the map. Since I'm not really using the location fields for anything too important, I think I'll just leave it off.
Still, maybe there's a conflict b/t the two modules?
Comment #5
webgeer commentedI have a feeling this may be related to: http://drupal.org/node/83345 which essentially is that revision control did not work with gmap_location nodes. This has now been fixed for the online version. However, there may be some problems with nodes that were edited or created using the older version of gmap_module.
Comment #6
bdragon commentedI'm going to assume this was either fixed or worked around. Please reopen if it is still an issue in 5.x.