Patch #22913

Auto-select fields mapping in Importing

Added by Haihan Ji over 3 years ago. Updated almost 3 years ago.

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


Target version:Candidate for next major release


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


#1 Updated by Sebastian Paluch over 3 years ago


#2 Updated by Go MAEDA over 3 years ago

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

#3 Updated by Haihan Ji over 3 years ago

Append Unit Test Code.

#4 Updated by Go MAEDA over 3 years ago

  • Target version set to Candidate for next major release

#5 Updated by Go MAEDA almost 3 years 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