I've noticed next glitch in the rate-module (or on my site at least)

When you try to vote as an anonymous user, you get redirected automaticaly to a login-page wich tells you to login or register to vote. Everything normal up to here.

But when you try to login, you get redirected to a 404-page does not excist.
I've also noticed that, when you go back one page (after getting the 404), everything works fine...

I've been translating all module text to dutch, but I don't think this has anything to do with it though...

PS: Great module!!!

Comments

raoul.leysen’s picture

Priority: Major » Normal
solquimpo’s picture

I have the same issue about the "You must login before you can vote" message (but I don't get a 404). That message should not appear anymore after the user has logged in and has been redirected to the page to be rated. My workaround is to remove that message from the $_SESSION['messages']['status'] when global $user->uid is not 0 via hook_init implementation. But this must be done more elegantly within the rate module.

klaasvw’s picture

Status: Active » Needs review
StatusFileSize
new1.71 KB

Here's a patch that will redirect the user to the previous page instead of a 404.

amfriedman’s picture

Priority: Normal » Major

I'm also experiencing this error for 7.x-1.3

ivnish’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Drupal 7 is EOL. Issue will be closed, but patches are still here

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.