[SEO-26] excessivePageText validator shows no message on failure Created: 16/Apr/20 Updated: 11/May/22 Resolved: 23/Apr/20 |
|
| Status: | Closed |
| Project: | Search Engine Optimization |
| Component/s: | None |
| Affects Version/s: | 6.1.1 |
| Fix Version/s: | 6.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Chris Jennings | Assignee: | Andrew Warinner |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| 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 |
|
The excessivePageText auditor uses the info.magnolia.services.seo.audit.impl.ParagraphLengthAuditor to count words within paragraphs. When it finds a paragraph with too many words it attempts to display its results using an info.magnolia.services.seo.app.rendering.AuditPropertyRenderer but this renderer is designed to report on the checking of a particular page property. As such, before rendering it checks that the page node contains a given property. When the page does not contain the property "excessiveText" it fails to render any results. This renderer should be configured to use a different class that is not dependent on a specific node property such as the info.magnolia.services.seo.app.rendering.GeneralAuditRenderer |