Issue Bug Closed

#89267Broken links found in pages table are associated with wrong page

Sybille Peters 09/25/19, 14:43 updated 12/23/19, 22:42

Description

linkvalidator.png

Reproduce

- parent page (Show report)
|
---> subpage (with broken link in pages.canonical_link)
  1. set wrong link with pages.canonical_link (seo)
  2. make sure searchFields include canonical_link in TSconfig
  3. Crawl for broken links
  4. Set Report: “Show this level: This page” on parent page

The broken link on the subpage will be displayed

Cause

Assumption: probably wrong interpretation of record_uid and record_pid (in tx_linkvalidator_link) for pages:

- usually (e.g. for tt_content elements) record_uid is uid of element where broken link is found and record_pid is page id
- for pages: record_uid is uid of page and record_pid is uid of parent page.

But in the GUI record_pid is always interpreted to mean page id.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.