Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken links report only looks at published pages #118

Open
chillu opened this issue Jul 15, 2019 · 0 comments
Open

Broken links report only looks at published pages #118

chillu opened this issue Jul 15, 2019 · 0 comments

Comments

@chillu
Copy link
Member

chillu commented Jul 15, 2019

Overview

When linking between internal pages, and then deleting the link target, the linking page is marked with HasBrokenLinks=1 upon save. This happens behind the scenes, and only in the draft stage. The "broken links" report only looks at the live stage by default, so doesn't pick up the broken link until this page is republished. Since there's no actual changes by content authors, this republishing is counter-intuitive.

Steps

  • Create Page A, publish
  • Create Page B, add link to Page A, publish
  • Delete Page A
  • Open "broken links report"
  • Expected: Lists Page B
  • Actual: Doesn't list Page B

Notes

/cc @silverstripeux (talked to Paul this morning)

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

No branches or pull requests

1 participant