Patch #24837

Bulk update issues with author

Added by Marcin Świątkiewicz 9 months ago. Updated 9 months ago.

Status:Needs feedbackStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:-

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.

assigned_to_author.diff Magnifier (1.55 KB) Marcin Świątkiewicz, 2017-01-16 08:54

test.diff Magnifier (496 Bytes) Marcin Świątkiewicz, 2017-01-16 09:46

author.diff Magnifier (1.75 KB) Marcin Świątkiewicz, 2017-01-17 08:34

3.3-stable.diff Magnifier (12.3 KB) Marcin Świątkiewicz, 2017-01-18 16:09

History

#1 Updated by Marcin Świątkiewicz 9 months ago

Here is test for this feature

#2 Updated by Marcin Świątkiewicz 9 months ago

There was an mistake. Below is fixed diff.

#3 Updated by Go MAEDA 9 months 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).

#4 Updated by Marcin Świątkiewicz 9 months ago

My redmine version: 3.3.2.

#5 Updated by Marcin Świątkiewicz 9 months ago

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

#6 Updated by Toshi MARUYAMA 9 months ago

Could you make patch to trunk?

Also available in: Atom PDF