First, let me say this is an absolutely brilliant piece of software. The interface is clean and learning how to use the app is very simple. Additionally the documentation is excellent. Often OS projects, even very successful ones, have very poor documentation. The documentation for WebIssues is fantastic. In my opinion this is one of the best pure issue tracking pieces of software out there. There are a few additions it would be nice to have like calculated fields that can do numeric and date calculations and maybe a built-in tools for importing, but I did not spend anytime developing this awesome software so I am not complaining!
My issue is when I send an email from a GroupWise email account to create an issue, everything works as expected except the body of the email is not added to the issue as an attachment and any attachment to the email is also not added as an attachment. I have not had any issue when sending issues from services like gmail or yahoo. It only occurs with GroupWise 2012.
When I check the Event Log I see the following event details:
Event Details
Type: Errors
Severity: Error Error
Date: 6/27/2014 07:33
Message: Unhandled System_Api_Error: 325 Empty Value in C:\inetpub\wwwroot\webissues\system\api\validator.inc.php on line 84
Stack trace:
#0 C:\inetpub\wwwroot\webissues\cron\job.php(540): System_Api_Validator->checkString(NULL, 80)
#1 C:\inetpub\wwwroot\webissues\cron\job.php(76): Cron_Job->processInboxEmails()
#2 C:\inetpub\wwwroot\webissues\system\core\application.inc.php(210): Cron_Job->execute()
#3 C:\inetpub\wwwroot\webissues\system\bootstrap.inc.php(130): System_Core_Application->run()
#4 C:\inetpub\wwwroot\webissues\cron\job.php(690): System_Bootstrap::run('Cron_Job')
#5 {main}
User name: Inbox Robot
Host name: unknown
Any help would be greatly appreciated as my entire IT department at work will commit to using this tool if that functionality works!
Thanks,
Lamont
- Log in to post comments
It looks like there is an unnamed part in the email which WebIssues tries to add as an attachment but it fails because the name cannot be empty.
You could try to add the following workaround to ignore unnamed parts by replacing line 538 of cron/job.php with the following code:
Regards,
Michał
That worked perfectly! You are the man! Thank you.
Okay, so the body is being added as an attachment, but the actual attachment is not being added and there is no error message in the Event Log.
Any ideas?
Thanks!
Lamont
The attachment is not added because its name was not recognized. You could try to make another change - in system/mail/inboxengine.inc.php, line 224, change 'NAME' to 'FILENAME':
Regards,
Michał
Sorry, no luck. The attachment is still missing.
Hi Michal, any other ideas?
No idea unfortunately. The PHP implementation of IMAP may be buggy, and I can only check it against the few mail servers that I have access to.
Regards,
Michał