Defect #34326 » 34326-v2.patch
app/controllers/imports_controller.rb | ||
---|---|---|
173 | 173 |
return if @import.settings['encoding'].blank? |
174 | 174 | |
175 | 175 |
mappings = @import.settings['mapping'] ||= {} |
176 |
headers = @import.headers.map(&:downcase)
|
|
176 |
headers = @import.headers.map{|header| header.to_s.downcase}
|
|
177 | 177 | |
178 | 178 |
# Core fields |
179 | 179 |
import_type::AUTO_MAPPABLE_FIELDS.each do |field_nm, label_nm| |
test/fixtures/files/import_issues_auto_mapping.csv | ||
---|---|---|
1 |
priority;Subject;start_date;parent;private;progress;custom;"target version";category;user;estimated_hours;tracker;status;database;cf_6 |
|
2 |
High;First;2015-07-08;;no;;PostgreSQL;;New category;dlopper;1;bug;new;"PostgreSQL, Oracle";2 |
|
1 |
priority;Subject;start_date;parent;private;progress;custom;"target version";category;user;estimated_hours;tracker;status;database;cf_6; |
|
2 |
High;First;2015-07-08;;no;;PostgreSQL;;New category;dlopper;1;bug;new;"PostgreSQL, Oracle";2;"Column with blank header" |
- « Previous
- 1
- 2
- 3
- Next »