Project

General

Profile

Actions

Defect #20543

closed

Mail handler: don't allow override of some attributes by default

Added by Alexander Ryabinovskiy over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Email receiving
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

  Environment:
  Redmine version                3.1.0.stable
  Ruby version                   2.0.0-p645 (2015-04-13) [i386-mingw32]
  Rails version                  4.2.3
  Environment                    production
  Database adapter               SQLServer

1. I replied to email notification from Redmine about the issue (with "RE: [test - Work #1198] in subject):

Issue #1198 has been reported by Ryabinovskiy Alexander.

Work #1198: test issue from email
•    Author: Ryabinovskiy Alexander
•    Status: New
•    Priority: Low
•    Assignee: Developer2
•    Category: 
•    Target version:

Project: test2 
Test issue description

2. I ran command on server:

rake redmine:email:receive_pop3 unknown_user=accept host=comp.local port=110 username=redmine@comp.local password=XXX allow_override=project,tracker,priority project=test

3. Issue #1198 was updated: Status, Priority, Target version, Assignee was changed, and Project did not. But I used only allow_override=project,tracker,priority option!


Related issues

Copied from Redmine - Defect #20454: Mail handler: unwanted assignment to a group occursClosedJean-Philippe Lang

Actions
Actions #1

Updated by Alexander Ryabinovskiy over 8 years ago

  • Copied from Defect #20454: Mail handler: unwanted assignment to a group occurs added
Actions #2

Updated by Jean-Philippe Lang over 8 years ago

  • Target version changed from 3.1.1 to 3.2.0
Actions #3

Updated by Jean-Philippe Lang over 8 years ago

  • Subject changed from Mail handler: allow_override option does not work to Mail handler: don't allow override of some attributes by default
  • Status changed from New to Closed
  • Resolution set to Fixed

Indeed, some attributes were always overridable and this was not documented. This behaviour is now removed, all attributes have to be explicitly listed with the allow_override option to be overridable.

For those who want all attributes to be overridable, allow_override=all can now be used.

Actions #4

Updated by Deoren Moor over 8 years ago

Jean-Philippe Lang wrote:

Indeed, some attributes were always overridable and this was not documented. This behaviour is now removed, all attributes have to be explicitly listed with the allow_override option to be overridable.

For those who want all attributes to be overridable, allow_override=all can now be used.

I've updated the RedmineReceivingEmails page to match these changes. Thanks for fixing this.

Actions

Also available in: Atom PDF