Patch #22913

Auto-select fields mapping in Importing

Added by Haihan Ji about 1 year ago. Updated 8 months ago.

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

0%

Category:Importers
Target version:Candidate for next major release

Description

I hate to select many times in import-mapping.
This patch can auto select by label before you select it.

auto_select_fields.patch Magnifier (1.14 KB) Haihan Ji, 2016-05-27 15:55

20160606_auto_select_fields_test.patch Magnifier (1.37 KB) Haihan Ji, 2016-06-06 12:28

History

#1 Updated by Sebastian Paluch about 1 year ago

+1

#2 Updated by Go MAEDA about 1 year ago

Very interesting feature.
Could you add tests? Tests are required to be merged into the core.

#3 Updated by Haihan Ji about 1 year ago

Append Unit Test Code.

#4 Updated by Go MAEDA about 1 year ago

  • Target version set to Candidate for next major release

#5 Updated by Go MAEDA 8 months ago

  • Status changed from New to Needs feedback

I tried this patch but got the following error while processing ImportsController#mapping. Could you test the patch on the current trunk?

NameError (undefined local variable or method `issue' for #<ImportsController:0x007fc8be2479b0>
Did you mean?  issue_url):
  app/controllers/imports_controller.rb:72:in `mapping'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Also available in: Atom PDF