'Comment Field is required' when clicking the Attach

samhassell - February 12, 2009 - 02:53
Project:Comment Upload
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

1. Select a file to attach to a comment
2. Click 'Attach'
3. Form_set_error message 'Comment Field is Required' appears beneath 'Changes made to the attachments are not permanent until you save this post.'
4. Saving the comment goes to a strange page but doesnt save the comment.

Tested with a .doc, and a .ods.

This is under Drupal 6.9.

I'm also running comment_cck, but I disabled it and I still get the same behavior.

Other modules are:

admin_menu cck date messaging pathauto token xmppframework
advanced_help coder devel notifications poormanscron util
backup_migrate comment_cck dhtml_menu og prepopulate views
calendar comment_upload drush panels simpleviews wysiwyg

#1

samhassell - February 12, 2009 - 03:02

This only occurs when adding a new comment, editing a comment allows attaching files correctly.

#2

samhassell - February 12, 2009 - 05:14

interestingly the problem goes away when I revert to comment_upload-6.x.1.x-dev from 2008-09-16.

#3

Heine - February 12, 2009 - 07:59

This is due to #366528: AHAH enhancements. We may need to rollback.

#4

Golem07 - February 26, 2009 - 06:04

This seems to be the same problem as posted in #368399: Troubles: Preview and FCK Editor
I assume that there is no fix for this behaviour yet. So I thought about "downgrading" to an older version of comment upload without the AHAH enhancement that seems to cause the problems. I am having troubles though finding an older version. Could somebody please point me to such a file if available?

Thanks a lot in advance.

#5

rsvelko - April 16, 2009 - 22:44

took the command from the CVS instructions and modified (replaced -r with a -D) it to become:

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -d comment_upload-DRUPAL-6--1 -D "2008-09-16" contributions/modules/comment_upload/

so now my comment_upload module works

I reccomend putting a NOTICE in bold on the front project page that the latest WORKING dev is this one I attach. And that the current stable does not work . At least that is what I've experienced - I installed the latest stable - 6 alpha3 and it did not save the attachments. Somebody please test it and if I am right - maintainers take some action.

Cheers.

AttachmentSize
comment_upload-6.x-dev-from-CVS-checkout-from-2008-09-16.tar_.gz 8.29 KB

#6

netaustin - April 17, 2009 - 03:08
Status:active» fixed

There's not a line of difference between the modules in CVS and in the Alpha3 snapshot, and I can't replicate, plus the Alpha3 snapshot worked fine for me in a blank Drupal install. The parent issue here was resolved some time ago, so I'm closing this issue. If there are problems with the Alpha3 snapshot, please open a new issue with a how-to-replicate guide.

#7

System Message - May 1, 2009 - 03:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.