[SEO-36] Link Auditor results break when configuration missing Created: 18/May/22  Updated: 20/May/22

Status: Open
Project: Search Engine Optimization
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2

Type: Bug Priority: Neutral
Reporter: Chris Jennings Assignee: Chris Jennings
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2022-05-18 at 15.44.18.png     File deadLinks.ftl    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

When the link auditor, LinkAuditor, is incorrectly configured, it falls back to the default error message, a single string from its superclass, OutputAuditor.

The link auditor's output template, deadLinks.ftl, attempts to split this message on the pipe character and then format results according to the second part of the split array. The message contains no pipe so the logic fails and no results are shown for the dead links check.



 Comments   
Comment by Chris Jennings [ 18/May/22 ]

As a workaround, one can hotfix the output template found at
/seo/templates/deadLinks.ftl using the provided deadLinks.ftl

Comment by Chris Jennings [ 20/May/22 ]

Fixed in 6.2.2. Seeking permissions to create the release here in Jira and update everything.

Generated at Mon Feb 12 10:46:18 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.