Does this module handles attachments via email? I looked at the code and it seems to support that capability.
But for all of the emails I've submitted with attachments none of the tickets created saved any attachments.

Any ideas/suggestions?

Comments

jeremy’s picture

Category: support » bug

It's supposed to, but I think it's failing on new ticket creation. Marking as a bug.

richbaldwin’s picture

ok thanks for the reply.
i'll have a look and see if i can figure out what the problem is.

jeremy’s picture

Status: Active » Fixed

In a couple of places we were referencing the nid incorrectly, assigning attachments to nid 0. Fix committed.

richbaldwin’s picture

Tested. Works.
Both for single and multiple attachments via email.
Good stuff.

D4Ko’s picture

Status: Fixed » Needs work

When I send mail attachment is saved, but I have a error Table 'xxxxxxx.upload' doesn't exist query: INSERT INTO upload (fid, nid, vid, description, list, weight) VALUES(2, 8, 8, 'logo.gif', 1, 0) in file /sites/all/modules/support/support.module, linia 878.

jeremy’s picture

Status: Needs work » Active

Sure enough, the support module does not define a dependency on the upload module, which is necessary for attachment support to work. You should enable the core upload module. I will either add it as a dependency, or cleanup the code to only save attachments when it is enabled (dropping them when it is not).

jeremy’s picture

Status: Active » Fixed

I have marked the support module as dependent on the upload module. Committed.

Status: Fixed » Closed (fixed)

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