akeneo / api-php-client

PHP client of Akeneo PIM API
https://packagist.org/packages/akeneo/api-php-client
Other
90 stars 57 forks source link

upsertList not working on Windows #257

Open Avgariat opened 1 year ago

Avgariat commented 1 year ago

upsertList uses LineStreamReader.php for response processing. Then LineStreamReader uses php constant PHP_EOL in order to detect multiple lines. However, on Windows PHP_EOL is equal \r\n which breaks LineStreamReader.

Above issue occurs with configuration client - Windows <--> server - Linux.

LevFlavien commented 1 year ago

Probably related to https://github.com/akeneo/api-php-client/issues/176