Vote #81692
未完了imap mail fetch validation failed: due date is blank
ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Email receiving_29
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:
0%
予定工数:
Redmineorg_URL:
category_id:
29
version_id:
0
issue_org_id:
36150
author_id:
540610
assigned_to_id:
0
comments:
0
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
169
説明
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?
いいね!0