Closed (duplicate)
Project:
Location
Version:
5.x-2.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2007 at 22:24 UTC
Updated:
21 Jan 2008 at 04:16 UTC
A location node which represents a user does not get deleted when the associated user is deleted. This can cause a number of issues, but we found it when we received the following gmap error in our logs:
array_intersect() [function.array-intersect]: Argument #1 is not an array in /var/www/folkjam/html/sites/all/modules/gmap/gmap_location.module
(I'm placing the error message here in case anyone searches for the text)
The attached patch file adds a delete clause in hook_user for the location module and removes the location node associated with that user, if it exists.
-Shawn
| Comment | File | Size | Author |
|---|---|---|---|
| location_user_delete_fix.patch | 328 bytes | smulkey |
Comments
Comment #1
bdragon commentedMarking as duplicate of http://drupal.org/node/110334.