Project

General

Profile

Actions

Patch #24837

open

Bulk update issues with author

Added by Marcin Świątkiewicz almost 8 years ago. Updated almost 8 years ago.

Status:
Needs feedback
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

It would be nice, to add option to bulk update many different issues with option 'assigned to author'.
Below is my diff with this feature.


Files

assigned_to_author.diff (1.55 KB) assigned_to_author.diff Marcin Świątkiewicz, 2017-01-16 08:54
test.diff (496 Bytes) test.diff Marcin Świątkiewicz, 2017-01-16 09:46
author.diff (1.75 KB) author.diff Marcin Świątkiewicz, 2017-01-17 08:34
3.3-stable.diff (12.3 KB) 3.3-stable.diff Marcin Świątkiewicz, 2017-01-18 16:09
Actions #1

Updated by Marcin Świątkiewicz almost 8 years ago

Here is test for this feature

Actions #2

Updated by Marcin Świątkiewicz almost 8 years ago

There was an mistake. Below is fixed diff.

Actions #3

Updated by Go MAEDA almost 8 years ago

  • Status changed from New to Needs feedback

The patch author.diff cannot be cleanly applied to both trunk and 3.3-stable.
What version of Redmine do you use?

trunk (3.3.2.devel.16217):

$ patch -p1 < author.diff
patching file app/controllers/issues_controller.rb
Hunk #1 succeeded at 294 (offset 19 lines).
Hunk #2 FAILED at 308.
1 out of 2 hunks FAILED -- saving rejects to file app/controllers/issues_controller.rb.rej
patching file test/functional/issues_controller_test.rb
Hunk #1 succeeded at 4379 with fuzz 1 (offset 175 lines).

3.3-stable:

$ patch -p1 < author.diff
patching file app/controllers/issues_controller.rb
Hunk #1 succeeded at 282 (offset 7 lines).
Hunk #2 FAILED at 296.
1 out of 2 hunks FAILED -- saving rejects to file app/controllers/issues_controller.rb.rej
patching file test/functional/issues_controller_test.rb
Hunk #1 succeeded at 4439 with fuzz 1 (offset 235 lines).

Actions #4

Updated by Marcin Świątkiewicz almost 8 years ago

My redmine version: 3.3.2.

Actions #5

Updated by Marcin Świątkiewicz almost 8 years ago

Here is my diff for 3.3-stable from github.
My formatter also removes white characters from _test file.

Actions #6

Updated by Toshi MARUYAMA almost 8 years ago

Could you make patch to trunk?

Actions

Also available in: Atom PDF