Blank URL parameter "import_name" after uploading csv

Created on 25 February 2020, over 4 years ago
Updated 2 December 2023, 7 months ago

After uploading .csv there is no value in URL parameter "import_name". Url looks like this "mysite.com/admin/commerce-csv-import?action=load&import_name="
Drupal shows notice:

Notice: Undefined index: import_name in Drupal\commerce_smart_importer\Form\CSVImportForm->finished() (line 453

and then warning:

Warning: file_get_contents(public://smart_importer_temp//log.json): failed to open stream: "Drupal\Core\StreamWrapper\PublicStream::stream_open" call failed in Drupal\commerce_smart_importer\Form\CSVImportForm->buildForm() (line 153

After trying to import gets infinite (20 pages in logs after several seconds) warnings:

Warning: fgetcsv() expects parameter 1 to be resource, bool given in Drupal\commerce_smart_importer\Plugin\CommerceSmartImporerService->countProductsAndVariations() (line 1193 of
πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024