Project

General

Profile

Actions

Defect #36150

open

imap mail fetch validation failed: due date is blank

Added by Ludwig Bayerlein about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I am using mail fetch with rake command. Its implemented like it is documented on redmine wiki

This is our script we use:

#!/bin/bash

export PATH="/home/redmine/.rvm/gems/ruby-2.6.8/bin:/home/redmine/.rvm/gems/ruby-2.6.8@global/bin:/home/redmine/.rvm/rubies/ruby-2.6.8/bin:/home/redmine/.rvm/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin:/home/redmine/.local/bin:/home/redmine/bin:/home/redmine/.local/bin:/home/redmine/bin" 
export GEM_HOME='/home/redmine/.rvm/gems/ruby-2.6.8'
export GEM_PATH='/home/redmine/.rvm/gems/ruby-2.6.8:/home/redmine/.rvm/gems/ruby-2.6.8@global'
export MY_RUBY_HOME='/home/redmine/.rvm/rubies/ruby-2.6.8'
export IRBRC='/home/redmine/.rvm/rubies/ruby-2.6.8/.irbrc'
export RUBY_VERSION='ruby-2.6.8'

cd /home/redmine/redmine ;
rake -f /home/redmine/redmine/Rakefile redmine:email:receive_imap RAILS_ENV=production host=[MAILHOST] username=[USER] password=[PASS] tracker=support project=ticketqueue due_date=2021-11-06 no_permission_check=1 unknown_user=create allow_override=all no_account_notice=1 --trace

If you need more information, please tell me.

Thank you very much
The log tells me following:

Creating scope :system. Overwriting existing method Enumeration.system.
Creating scope :sorted. Overwriting existing method Group.sorted.
Creating scope :sorted. Overwriting existing method User.sorted.
Creating scope :having_mail. Overwriting existing method User.having_mail.
Creating scope :visible. Overwriting existing method Principal.visible.
MailHandler: Validation failed: Due date cannot be blank

So I tried it with * due_date="2021-11-06" * due_date='2021-11-06' * due_date=2021-11-06

Unfortuantely, without success. I do not know, where to search or how to find a way that works. Maybe you have an idea?

No data to display

Actions

Also available in: Atom PDF