Troubles: Preview and FCK Editor

Golem07 - February 3, 2009 - 07:57
Project:Comment Upload
Version:6.x-1.0-alpha2
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hello,

The module is causing trouble for me with 2 scenarios

1. Comment Preview (Plain Text)
Everything works as it should as long as I do not preview any comment before I post it. As soon as I do, both - the comment itself and the attachment disappear for the edit screen. The files has been physically transferred to the server but there is no way I can "get it back" to the comment. I cannot enter text and preview it again and have to exit the edit screen in order to post a comment. When post the comment right away without previewing it, everything seems to work fine.

2. Not working with FCK editor
In connection with FCK editor I cannot attach files to *new* comments. It does work though when I add files via editing an already *existing* comment.
When trying to add a file to a new comment I get the error message "Comment field is required" right after the file has been uploaded (upload to server is succesful). When I post this comment then the attachment won't be displayed with the comment.

I can, however, attach files to existing comments. The above error does not appear in this case and the attachment is being displayed properly after submission.

in this scenario I can preview the comment without losing its text. The attached file, however, vanishes just like mentioned in the first scenario.

All tests have been done as admin for Forum comments.
Any help would be highly appreciated. Thanks in advance!

#1

netaustin - February 4, 2009 - 02:16

This is alpha software that has only really been tested to work appropriately with d6.drupal.org. I will attempt to replicate and address your problem before I cut a beta release, probably within the next few days.

#2

Golem07 - February 4, 2009 - 06:34

Thank you a lot for looking into this netaustin.

Just a small clarification to the above bug report: Both scenarios mentioned work fine with the core upload module when I create a node (Forum thread).

#3

Heine - February 4, 2009 - 07:54

This is most likely a duplicate of #366573: Set weight to ? (Preview w/Quote module causes doubled text).

@Golem07, can you please execute the following query on the database:

UPDATE system SET weight = 10 WHERE name = 'comment_upload';

and try again?

#4

Golem07 - February 4, 2009 - 08:36

Thanks for the help Heine.

I ran that query that you have mentioned but unfortunately it doesn't seem to have any effect :(

#5

sun - March 9, 2009 - 03:33
Status:active» postponed (maintainer needs more info)

Regarding the FCKeditor issue: That should not exist when using Wysiwyg API.

Which leaves us with the first issue, which is most likely a duplicate of #366573: Set weight to ? (Preview w/Quote module causes doubled text).

#6

Golem07 - March 17, 2009 - 10:38

Thanks a lot for looking into this sun.

I only had time for brief testing. But it seems that with both, the wysiwyg API and the latest snapshot of the FCKeditor module, all of the above problems went away. I still get a warning sometimes that the "comment field is required". But the upload and preview process don't seem to be harmed by this. So hopefully this issue can be considered fixed.

Many thanks once more for helping out!

#7

sun - March 17, 2009 - 17:06
Status:postponed (maintainer needs more info)» fixed

#8

System Message - March 31, 2009 - 17:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.