Project

General

Profile

Bug #89182

Updated by Georg Ringer about 5 years ago

Some checks should only be performed if content is relevant.  

 For example: 

 tt_content.bodytext : depends on ctype (e.g. is usually not relevant for plugins) 
 pages.url : depends on doktype 


 The problem is currently, if page or content element type is change, the content is not removed from the fields which are now no longer relevant, so in older sites where this had been changed, you may get a lot of "broken links" for content that is not rendered in FE and is irrelevant. 

 If it were possible to (optionally) add restrictions to the query via TSconfig, this would solve tI have seen this problemhe problem.  

 In order to be backwards compatible, we could do something like: 

 <pre> 
 


 mod.linkvalidator { 

 searchFields = { 

   pages = media,url 
 } 

 searchRestrictions = { 

   pages.url { 
     ... 
   } 
 } 
 </pre>

Back