This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Description
From @adaemon on October 15, 2017 12:37
Preconditions
- Magento version CE 2.1.5
Steps to reproduce
- Login to admin panel go to Store -> Configuration -> Sales -> Shipping Methods
- Expand Table Rates and Override the default options. Select Enabled as Yes
- Condition: # of items vs Destination
- Save the configuration
- Change Store view to "Main Website"
- You could see Export and Import option
- Click export button and get the CSV format
- In the CSV edit values and reupload
- Save the configuration
Expected result
- CSV file should be exported without any error. The shipping method should work in the frontend
Actual result
-
Getting following error
Something went wrong while saving this configuration: Warning: array_key_exists(): The first argument should be either a string or an integer in /home/vntghome-alpha/store/vendor/magento/framework/Model/AbstractModel.php on line 351
-
Shipping is enabled in the frontend, but is not calculating the shipping price as per the configuration in the CSV file
Note: attached txt is saved from CSV due to github restriction

tablerates.txt
Copied from original issue: magento/magento2#11468