Closed (fixed)
Project:
Support Ticketing System
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2009 at 04:51 UTC
Updated:
30 Sep 2009 at 23:00 UTC
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
Comment #1
jeremy commentedIt's supposed to, but I think it's failing on new ticket creation. Marking as a bug.
Comment #2
richbaldwin commentedok thanks for the reply.
i'll have a look and see if i can figure out what the problem is.
Comment #3
jeremy commentedIn a couple of places we were referencing the nid incorrectly, assigning attachments to nid 0. Fix committed.
Comment #4
richbaldwin commentedTested. Works.
Both for single and multiple attachments via email.
Good stuff.
Comment #5
D4Ko commentedWhen 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.
Comment #6
jeremy commentedSure 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).
Comment #7
jeremy commentedI have marked the support module as dependent on the upload module. Committed.