Skip to content

Bug generating Sitemap Cron expression #1020

Closed
@barbazul

Description

@barbazul

I just found this in M1, surprised to see it is also in M2.

app/code/Magento/Cron/Model/Config/Backend/Sitemap.php line 68 reads

$frequency = $this->getData('groups/generate/frequency/value');

And should read

$frequency = $this->getData('groups/generate/fields/frequency/value');

This causes $frequency to be always false and so, sitemap is always generated daily regardless of configuration

Edit: Typo

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions