I have found that the location_cck module is not saving correctly to location_instance table. It saves the uid, nid and vid fields as 0. This does not stop location_cck from working, but views location table does not find things.
I had a look at the code and changed location_cck.module line 138 from

      location_save_locations($items, array('genid' => $genid));

to

      location_save_locations($items, array('genid' => $genid, 'uid' => $node->uid, 'vid' => $node->vid, 'nid' => $node->nid));

patch on location_cck.module attached

Hope this helps.

CommentFileSizeAuthor
location_cck_fixsave.patch586 byteshutch

Comments

nickl’s picture

Status: Active » Closed (duplicate)

Similar patch ready for review which takes a similar approach to here.
CCK/Views: location_instance fix