1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Partial Fix Deleting and Restoring a thread can increase users likes.

Discussion in 'Resolved Bug Reports' started by Sumo, Apr 6, 2012.

  1. Sumo

    Sumo Active Member

    I have only checked user likes but this could have an impact on other things such as posts, etc.

    1. Delete a thread with a liked post in it.
    2. Using the inline mod tools select the thread and select the undelete option. This causes the undelete form to be submitted however if you hit the go button as well (you can press it multiple times) it will send the form more than once.
    3. Once it has been submitted view the user's likes again and they will be increased.

    In case of a large thread or slow server this can take some time, causing the button to be hit multiple times as you wait for it to respond if you are impatient.

    The mod logs will also look something like this.
    Kyle12 and AzzidReign like this.
  2. AzzidReign

    AzzidReign Well-Known Member

    I hope this issue is resolved in the next update (and hopefully soon!).
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I am having trouble reproducing this, but it probably requires a large thread and/or slow server as you said.

    The easiest solution would be to prevent multiple submissions in the first place by disabling the form upon the first submission. Some javascript should take care of that.
  4. Sumo

    Sumo Active Member

    Yes the thread that it was done on contained 5.5k posts. I have tried several smaller threads and it does not work with them.
  5. Mike

    Mike XenForo Developer Staff Member

    The partial fix here is to make it impossible to submit the inline mod form while an action is running (which I have done).
    Sumo likes this.

Share This Page