We're updating the issue view to help you get more done. 

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

Environment

None

Deployment actions

None

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

Status

Assignee

Unassigned

Reporter

Marijn Otte

Client

Integrated Marijn

External issue ID

None

Follow up date

None

Code reviewer

Michael Jongman

Developer

Ger Jan van den Bosch

Plan date

None

Max. hours

5

Error message

None

Min. hours

4

Product owner

Marijn Otte

Refiner

Michael Jongman

Switches

None

Dev hour estimate

2

Story Points

1

Time tracking

4h 15m

Epic Link

Sprint

None

Fix versions

Priority

Major