Defect #16022

Deprecation warning with incoming emails

Added by Anonymous almost 8 years ago. Updated over 7 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Email receiving
Target version:-
Resolution:Fixed Affected version:2.4.0

Description

By using the rake task as a cronjob to receive mails from an imap server I get this warning

[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.

History

#1 Updated by Toshi MARUYAMA almost 8 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Fixed by r12366.

#2 Updated by Philip Schiffer over 7 years ago

This is not fixed, I'm still getting this warning on 2.5.2.

This is the script which is run by cron

#!/bin/bash
cd /opt/redmine
RAILS_ENV="production" rake redmine:email:receive_imap host=<IP> username=<Username> password=<Passwort>

Edit: appears to be a Plugins fault

Also available in: Atom PDF