Prestashop 1.5
  1. Prestashop 1.5
  2. PSCFV-6103

CSV Product Import failed with multiple_value_separator different of comma AND Solution

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Security Level: All-users
    • Labels:
      None

      Description

      Hi,

      With CSV product import (1.5.2.0) , I want import feature like : 2,5 kg.
      Well i use a different multiple_value_separator like : |
      The colunm features is : poids:2,5kg:1|dimensions:165 x 165 mm:2
      Failed !
      Naturally without comma in feature and with the default separator it's run good.

      I look at the line 1245 in AdminImportController.php where the error occur :
      Maybe i've nothing understand but it seem to be completly stupid to replace the multiple_value_separator by comma.
      And this code seem to be completly obsolete.

      The solution : comment/remove code between line 1243 and 1247 in AdminImportController.php

      It's run perfectly now!

      Long life to Prestashop.

        Activity

        Hide
        Gregory Roussac added a comment -

        Hi Stephan,

        Thank you for your report and sorry for late reply.

        I believe this code fdoes not exists anymore and has been moved to split function

        https://github.com/PrestaShop/PrestaShop/blob/development/controllers/admin/AdminImportController.php#L656

        Best regards

        Show
        Gregory Roussac added a comment - Hi Stephan, Thank you for your report and sorry for late reply. I believe this code fdoes not exists anymore and has been moved to split function https://github.com/PrestaShop/PrestaShop/blob/development/controllers/admin/AdminImportController.php#L656 Best regards

          People

          • Assignee:
            Gregory Roussac
            Reporter:
            Stephan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: