Sitemap shows articles published in the future or past

Description

Steps to reproduce

  • Add an article and publish it in the future or past (but active in the workflow)

  • The article will be in the sitemap, but it should not

Technical tasks

Code is in:

  • src/Bundle/SitemapBundle/Controller/NewsController.php

  • src/Bundle/SitemapBundle/Controller/DefaultController.php

There has to be a check on publishTime.startDate which should not be published in the future. See the comment from Marijn

Deployment actions

None

Status

Assignee

Unassigned

Reporter

Marijn Otte

Product owner

Marijn Otte

Plan date

None

Follow up date

None

Code reviewer

Michael Jongman

Developer

Ger Jan van den Bosch

Refiner

Michael Jongman

Dev hour estimate

2

Max. hours

5

External issue ID

None

Error message

None

Min. hours

4

Story Points

1

Time tracking

4h 15m

Epic Link

Sprint

None

Fix versions

Priority

Major
Configure