Closed (cannot reproduce)
Project:
Location
Version:
6.x-3.x-dev
Component:
Location_views
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2009 at 02:37 UTC
Updated:
17 Feb 2012 at 23:24 UTC
Jump to comment: Most recent file
Comments
Comment #1
yesct commentedtagging
Comment #2
Roobarb commentedMy first post on the site, so I hope it's going to be of help to you. I'm using Location (but not Location CCK), and I had the same problem - it meant that I couldn't use Node Locations with the user registration page because the nid and vid were set to zero in the location_instance table. It took me ages to track that one down.
I think I've fixed it (or at least, it works for what I'm trying to do). Here's my first attempt at a creating a patch file. I'm a Drupal noob, so I hope this works!
Comment #3
libeco commentedI'm using this on a local test setup:
Drupal 6.11
Location 6.x-3.x-dev (2009-Apr-18)
Gmap 6.x-1.x-dev (2009-Apr-18)
CCk 6.x-2.2
Views 6.x-2.5
Using the dev versions was the only way for me to let a map show up in the location block in Drupal 6.11.
I used this patch (copied and pasted it manually because it was less work than actually finding out how to patch again).
I looked in the location_instance table and both nid and vid are set to 1, lid is set to 3, uid to 0 and genid is empty. I've only added one custom CCK (with no extra fields) with a location.
Does this make sense to you?
I'm trying to create a proximity search view, but I still can't find this only node with the method mentioned here. Is this what the patch was meant for?
Thanks in advance!
Comment #4
yesct commentedIf someone can confirm this is still a bug in the newest official release or new dev, please reply within 2 weeks with an updated summary and set the status back to active.
Comment #5
ankur commentedClosing due to lack of follow up.