Announcement

Collapse
No announcement yet.

Import Bug Mapping List

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Import Bug Mapping List

    Hello,

    if you try to import a .CSV and in the first row is a column which doesnt contain data, you wont get a mapping list.

    EspoCRM\client\src\views\Import\step2.js
    Line 137

    $select = this.getFieldDropdown(i, d.name);
    $cell = $('<td>').append($select);
    $row.append($cell);

    var value = d.value; <---------------------------------------- Line 137
    if (value.length > 200) {
    value = value.substr(0, 200) + '...';
    }

    $cell = $('<td>').css('overflow', 'hidden').html(value);
    $row.append($cell);

    Please Change:
    var value = d.value;
    To
    var value = String(d.value);

    Best regards

    *** EDIT ***

    Can be deleted -> Posted issue on GitHub
    Last edited by Keredra; 10-23-2018, 07:38 AM.
Working...
X