Preview comment redirects to a page with only the form of the comment, without the main node body. But no comment preview appears and no option to Save the comment, just the "Preview" button.
So unless you set the "preview comment before posting" to optional there is no way to post comments to tickets.

Comments

jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

Can you provide a little more info? Preview works on my site. What version of Drupal are you using? What theme? Is preview broken for other node types, or just the support module? Does it happen with different browsers?

kurkuma’s picture

  • Drupal: 6.14
  • Theme: Garland, Genesis
  • Browsers: Firefox 3.0.14, Firefox 3.5, Chrome 1.0.154.59
  • It seems to affect only the comments for Support module. The story content type is fine with previewing the comments.

Hope this helps. By the way, very good module.

jeremy’s picture

Is this a new install, or an upgrade? If an upgrade, did it work with the previous version? And does it work if you revert back to the earlier version (try this on a test site)? I'm trying to narrow down what the problem may be...

kurkuma’s picture

New install

jeremy’s picture

Title: Preview doesn't work » Preview doesn't work in Drupal 6.14
Priority: Normal » Critical
Status: Postponed (maintainer needs more info) » Active

I just upgrade my dev site from Drupal 6.13 to 6.14, and now I can duplicate what you describe. I don't have time to review any further at the moment, but bumping up the priority. Evidently this is due to a change in Drupal 6.14.

vitis’s picture

Perhaps this is related to http://drupal.org/node/491598

Thank you for bumping up the priority!

nxo’s picture

After update to 6.14 I have the same problem (using a very similar configuration): Comments can not be saved as the "preview" button seems only to reload the actual page, so that no "save" button is displayed.

@kurkuma: You write: "So unless you set the "preview comment before posting" to optional there is no way to post comments to tickets" – Sounds like a workaround. But I don't find that option in the settings anywhere. Where did you find this option.

Thanks!

@jeremy: Besides of that a very nice module. Thx.

jeremy’s picture

I looked into this earlier and suddenly couldn't duplicate it. Today I'm able to duplicate it again -- I just realized the problem is only affecting UID 1 on my test website, so evidently it is permissions related.

jeremy’s picture

I just had a few more minutes to look at this, and isolated it to the 'upload files to comments' permission. Which would explain why this hasn't been reported by significantly more users -- you'd have to have the comment upload module enabled.

jeremy’s picture

Priority: Critical » Normal
Status: Active » Closed (won't fix)

It turns out this is a bug in the comment_upload module, not a bug in the support module:
#397616: non-admin users can't add comments to issues if previewing is required