Zookal / HarrisStreet-ImpEx

Magento n98-magerun module for importing and exporting configuration data. Import supports hierarchical folder structure and of course different environments.
62 stars 14 forks source link

Fix issue with escaped character during export #11

Closed sylvainraye closed 8 years ago

sylvainraye commented 8 years ago

If a configuration value has a single quote, it will be escaped. e.g.

'Our price is lower than the manufacturer\'s "minimum advertised price."  As a result, we cannot show you the price in catalog or the product page. <br /><br /> You have no obligation to purchase the product once you know the price. You can simply remove the item from your cart.'

The import parser for YAML provide an error and doesn't import the content.

By changing from single quote to double quote for text delimitation and escaping those double quote the import has no issue.

"Our price is lower than the manufacturer's \"minimum advertised price.\"  As a result, we cannot show you the price in catalog or the product page. <br /><br /> You have no obligation to purchase the product once you know the price. You can simply remove the item from your cart."
SchumacherFM commented 8 years ago

Thank you Sylvain!

sylvainraye commented 8 years ago

Thanks to you for a great tool :-)

Le 28 nov. 2015 à 20:05, Cyrill Schumacher notifications@github.com a écrit :

Thank you Sylvain!

— Reply to this email directly or view it on GitHub.