Closed dan-sorion closed 9 years ago
Hello Dan, Probably, Redmine does not like an empty list of custom fields. Please try this patch. Regards Wolfgang
I replicated the POST in VBScript and obtained the same error. I then removed "custom_fields":[],
from the JSON and tried again, and it worked. Looks like the Redmine REST API does not handle empty custom fields value.
EDIT: I was writing my followup when you sent your reply. The patch works. I wasn't aware of this page in the Wiki with this already noted, I'm still new to Github and finding my feet. Thanks for the help.
Dan
Thank you for your investigation. I supposed that this error only appears with 2.6.0. Since you received it in 2.6.2 too, I tested with 2.6.1 and also ran into this problem: If no custom fields are defined, it is not possible to create an issue.
The script file mentioned here solves the problem for all 2.6.x versions.
ITOL 32-bit, Outlook 2013, Redmine 2.6.2
When pressing the Create button to add a new issue to Redmine I get a popup dialog with the HTML from a 500 server error in Redmine. Looking in the production.log file in Redmine I see the following:
The itol.log file shows the following (this appears to be the relevant log extract)
I have removed all plugins and get the same result. I have no custom fields configured in Redmine.
Dan