helpyio / helpy

Helpy is a modern, open source helpdesk customer support application. Features include knowledgebase, community discussions and support tickets integrated with email.
http://helpy.io/?source=ghh
MIT License
2.38k stars 498 forks source link

Attachments not showing in Tickets #1329

Open phil8900 opened 5 years ago

phil8900 commented 5 years ago

Hey, we are running Helpy 2.4 in combination with the latest helpy_imap and we are encountering problems with email attachments. The mails are processed and turned into tickets, but the attachments are not showing up in the tickets. Has anyone encountered anything like this before? I tried different file sizes from small to big and different file extensions, but I haven't found a solution yet.

Best regards, Philip

phil8900 commented 5 years ago

I am not sure if this is a problem with helpy, helpy_imap or my server settings and I am slightly lost where to look for the problem.

I logged post.attachments.inspect and got the following output:

[#<AttachmentUploader:0x00005588396b8ac0 @model=#<Post id: 555, topic_id: 244, user_id: 35, body: "test\n", kind: "first", active: true, created_at: "2019-09-03 14:01:27", updated_at: "2019-09-03 14:01:27", points: 0, attachments: [], cc: nil, bcc: nil, raw_email: "test\n">, @mounted_as=:attachments, @file=nil, @filename=nil, @cache_id=nil, @versions=nil, @storage=#<CarrierWave::Storage::File:0x00 005588396b3c28 @uploader=#<AttachmentUploader:0x00005588396b8ac0 ...>, @cache_called=nil>>]

Has anyone seen that issue before? :)