Download & Extend

comment_upload having weird behaviour with "quote" module ...

Project:Comment Upload
Version:6.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Since i've updated to the latest "comment_upload" module, it gives me strange behaviour with quote module ...

When i want to quote another user, i use the "quote" button, and i have a form with the quoted text...
The weird thing is if i ask to preview my answer, the original quoted text is pasted over my comment, like if the page was new...

To be clear, let's say i quote a text saying "hello"

Step1: click on "quote" from the "hello" message
Step2: I've got a new form with [quote=user1]hello[/quote] filled into the text area
Step3: I answer hi, so the textarea now looks like: [quote=user1]hello[/quote] hi ... and push preview button
Step4: I get my preview text, but the original quoted text is here twice, and the textarea is filled with: [quote=user1]hello[/quote][quote=user1]hello[/quote] hi

If i disable "comment_upload" module, i didn't have any more problem ... and if i push "save" button, i don't have the quoted text twice...

Any idea on this issue ?

Thanks in advance for your answer

Cya

Comments

#1

Status:active» fixed

Thank you for the detailled report.

The basic problem should be fixed with http://drupal.org/cvs?commit=140179.

When the change appears in the package and you've updated the site, make sure to run update.php.

#2

thanks a lot for your fast answer...

I'm going to test it right now

Cya!

#3

It works. Thanks!

#4

same here, it works ;)

Thanks again

Cya!

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

#6

Status:closed (fixed)» active

Reopening. I'm having this problem also and I've got a much newer ver. of Comment Upload... the Alpha 2 dated Jan 30 '09.

Has something changed in the code maybe?

#7

Status:active» closed (fixed)

#6 is caused by #366573: Set weight to ? (Preview w/Quote module causes doubled text)