Body not added as attachment when email sent from GroupWise

Submitted by lparrawa on 2014-06-27

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\ 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\ Cron_Job->execute()
#3 C:\inetpub\wwwroot\webissues\system\ 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!


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:

} else if ( $part[ 'name' ] == null ) {
                                } else {


That worked perfectly! You are the man! Thank you.

The attachment is not added because its name was not recognized. You could try to make another change - in system/mail/, line 224, change 'NAME' to 'FILENAME':

$result[ 'name' ] = $this->getParameter( $structure, 'FILENAME' );


Sorry, no luck. The attachment is still missing.