magefan / module-blog

Magento 2 Blog Extension is a solution that helps you to create a blog on Magento and manage posts,categories, tags, authors, and comments.
https://magefan.com/magento2-blog-extension
Other
267 stars 136 forks source link

Import complete message is incorrect #598

Open MaximeChamont opened 4 months ago

MaximeChamont commented 4 months ago

Describe the bug At the end of an import, the complete message (here https://github.com/magefan/module-blog/blob/master/Controller/Adminhtml/Import/Run.php#L60) is incorrect:

'The import process completed. %1 posts, %2 categories, %3 tags, %4 authors and %5 comments where imported. Some posts or categories or tags or comments where skipped. %5 %6 %7 %8 %9'

  1. Replacement pattern %5 is duplicated. => "[...] and 303 comments where imported. Some posts or categories or tags or comments where skipped. 303 Skipped Posts: [...]"
  2. Replacement pattern %10 is missing

Preconditions:

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Magefan > Import > Import from WordPress'
  2. Click on 'Start Import'
  3. See the incorrect complete message
MaximeChamont commented 1 month ago

Hello, Any news about this issue ?

VikaTarnavska commented 2 weeks ago

Hello Maxime,

Thank you for the report.

This issue has been fixed, here is the merge request https://github.com/magefan/module-blog/pull/621. The fix will be available in the next extension release.

Hope this helps.