# Bug OP-3243 - openproject run rake redmine causes deprecation warning

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-3243

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 6.1.1 |
| Observed in versions |  |
| Sprint | 6.1.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

Running a cronjob that fetches incoming emails, a dreprecation warning is generated every time it is invoked:

openproject run rake redmine:email:receive\_imap host=‘xxx’ username=‘xxx’ password=‘xxx’ port=993 ssl=true allow\_override=type,status,priority,assigned\_to

DEPRECATION WARNING: alias\_method\_chain is deprecated. Please, use Module\#prepend instead. From module, you can access the original method using super. (called from \<top (required)\> at /opt/openproject/vendor/bundle/ruby/2.3.0/bundler/gems/omniauth-openid-connect-c3bce4c9e9ac/lib/omniauth/strategies/openid\_connect.rb:4)
