craftcms / feed-me

Craft CMS plugin for importing entry data from XML, RSS or ATOM feeds—routine task or on-demand.
Other
289 stars 139 forks source link

Slugs with Special Characters Not Converted to ASCII During Product Import #1523

Open romainpoirier opened 1 month ago

romainpoirier commented 1 month ago

Description

When importing products via the FeedMe plugin, slugs with special characters are not converted to ASCII, even though the limitAutoSlugsToAscii configuration is set to true. This issue is observed during the import process, but when manually editing and saving the products in the Control Panel, the slugs are cleaned as expected.

Steps to reproduce

  1. Set the limitAutoSlugsToAscii config to true in the config/general.php file.
  2. Import a product with a title containing special characters (e.g., "Spätburguner") via FeedMe.
  3. Check the slug generated during the import.

Expected behavior: The slug should be converted to ASCII, removing special characters like "ä". Observed behavior: The slug retains special characters and is not cleaned.

Additional info

Plugins & versions:

romainpoirier commented 1 month ago

For your information, upon opening this ticket, I received an alert: "Add issues to project: All jobs have failed" (GitHub Actions run failure). It seems there might be a configuration issue with the repository.

i-just commented 1 month ago

Hi, thanks for getting in touch! I can’t replicate this behaviour. When importing products and entries, the Spätburguner title results in a spatburguner slug in my tests.

Could you please clarify when you experience this issue? Is it when importing a new product? Could you share a snippet of your feed and a screenshot of the mapping screen?