Doesn't work

lunas - February 25, 2007 - 19:59
Project:Form single
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi, I've installed this module on drupal 5.1 and tested it. It doesn't work. I submit multiple times on both forum topics and comments. I also tried the patch to form.inc at http://drupal.org/node/107358 (not at the same time of course) and it did not work either. Curiously enough, I have userpoints installed as well and a forum post/comment is supposed to give the user 1 point per comment/post. Even though multiple posts show up if I click submit say 3 times, only 1 point is added to the account. It looks as though userpoints has it figured out.

At any rate, any help would be appreciated -- this is a critical problem in drupal.

#1

robertDouglass - February 25, 2007 - 21:04

Please describe to me what you did to test this. Thank you.

#2

lunas - February 26, 2007 - 22:35

Hi, I didn't do anything special, I simply installed and activated the module and then logged out and signed in as a regular user. I went to my forum and submitted a new topic, hitting the submit button a few extra times. It behaved as if the module wasn't there and posted a number of duplicates. Thinking maybe the module didn't monitor the forums I went to a story page and tried the same thing with the comments. Same result -- duplicates were posted. As that didn't work, I turned off the module and then went to the post I mentioned above and tried patching form.inc as per the latest patch in that post. Proceeded to test as I had with the module and I got the same results. No error messages, nothing out of the ordinary, nothing I could pick up on that would point to why it wasn't working. Hope that helps.

#3

robertDouglass - February 28, 2007 - 14:27

The Drupal-5 version of this module is now deprecated and will not be supported. We attacked the issue at the core level and came up with a much more elegant solution:

http://drupal.org/node/107358

I don't know if I'll have time to try and roll a module for this for 4.7. The original sponsor of the module might backport the patch listed in #107358, but in general, I will be dedicating minimal effort to this module.

#4

lunas - February 28, 2007 - 23:54

The patch you just listed -- will it not work on 5.1? I tried it and it doesn't, just curious if it was supposed to. Tested it the same way I did the others...

#5

robertDouglass - March 1, 2007 - 09:08

It was rolled and tested against 5.1, so, yes. If none of these are working for you I am starting to suspect a problem unique to your installation. The patch I linked to had the Dickens tested out of it, and I have great confidence in its solidity.

#6

moeed - November 22, 2007 - 07:48

Is there anything available for 5.3. I tried your patches on 5.1 and they worked but since I've upgraded to 5.3 nothing works.

#7

robertDouglass - November 22, 2007 - 21:01

Yeah. Sadly we're at a point where neither the patches nor the module work. I think the best solution right now is the JS that Ted Serbinski offers on his blog: http://tedserbinski.com/2007/01/11/how_to_prevent_duplicate_posts

 
 

Drupal is a registered trademark of Dries Buytaert.