Skip to content

[Forwardport] Add default schedule config for sitemap_generate job#37

Open
rostyslav-hymon wants to merge 3 commits into2.3-developfrom
2.3-develop-PR-port-14822
Open

[Forwardport] Add default schedule config for sitemap_generate job#37
rostyslav-hymon wants to merge 3 commits into2.3-developfrom
2.3-develop-PR-port-14822

Conversation

@rostyslav-hymon
Copy link
Copy Markdown
Owner

Original Pull Request

magento#14822

Description

There was no default schedule configuration for sitemap_generate job, and I think this is causing confusion for some people.

Also I have removed a redundant constant in the sitemap observer.

I think more work is required on sitemaps following this.

Fixed Issues (if relevant)

  1. Magento 2.0.7 XML sitemap is not generated by schedule magento/magento2#5768: Magento 2.0.7 XML sitemap is not generated by schedule (potentially, waiting feedback from creator)

Manual testing scenarios

  1. Create sitemap via admin
  2. Do not sitemap generation schedule settings in Store > Configuration > Catalog > XML Sitemap > Generation Settings
  3. Configure magento cron
  4. Sitemap should be updated at midnight.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant