Closed (fixed)
Project:
Favorites
Version:
6.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2010 at 10:33 UTC
Updated:
15 Mar 2010 at 07:20 UTC
Permissions are set that Admin can manage all favorites.
authenticated user can manage own favorites.
For Admin - everithing works properly.
For all others - no.
when authenticated user is setting a node as a favorite, the node is not added to the list and the site displays the user's page.
After pressing F5 the required node is in the favorites list.
Clicking the "new" favorite link generates a "page does not exist" message.
this is what I see in the address line
http://www.mysite.com/favorites/remove/31?token=bf7130d06b2707a72e6a1146...
thanks
Comments
Comment #1
VTM commentedand...
Trying to remove a favorite gave me this error msg:
Fatal error: Call to undefined function drupal_set_messge() in /home1/mysite/public_html/modules/a_mysite_modules/favorites/favorites.module on line 43
Comment #2
VTM commentedmore info...
When block caching is inactive - everithing is working OK.
Comment #3
ezra-g commentedComment #4
ezra-g commentedI committed the typo for drupal_set_message. Please re-open if your caching issue persists after clearing the site cache.
Comment #5
VTM commentedDid a test.
block cache is enabled.
All cache data cleared
not workin for non admin users.
sonly sometimes a favorite is added to the list, and it is the previouse page.
example:
- started in homepage.
- browsed to a node page.
- did "make this page favorite"
- got back the hoepage
- got the homepage saved as a favorite (not my required node)
Comment #6
ezra-g commentedWe should clear the block cache after the user saves her favorite.
Comment #7
VTM commentedOK. let me know when you have it ready for testing.
thanks.
Comment #8
VTM commentedmore info #2
blockcache is disabled.
adding favorite - OK
deleting favorite gives the following msg:
Fatal error: Call to undefined function drupal_set_messge() in /home1/mysite/public_html/modules/my_modules/favorites/favorites.module on line 43
Comment #9
ezra-g commentedThanks for this report. I was able to verify this problem and it should be fixed in the new release which will be available in a few minutes.
Comment #10
VTM commentedWork OK.
Thanks.