Skip to content

Blog plugin should raise warning, not error when related link target does not exist #6869

@alexvoss

Description

@alexvoss

Context

Building blogs with Insider edition and related links.

Bug description

When building a blog with related links that do not have a valid target (page or anchor), the blog plugin aborts the build with an error. Instead, it should create a warning so that in non-strict mode the build can finish.

Related links

Reproduction

9.5.12+insiders.4.53.0-blog-related-links-should-respect-strictnon-strict.zip

Steps to reproduce

  1. with Insiders, build reproduction project, observe build fail
  2. change the link in the single blog post to a non-existing page instead of non-existing anchor, observe same behaviour

Browser

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    change requestIssue requests a new feature or improvementresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions