4teamwork / ftw.linkchecker

0 stars 0 forks source link

Internal Link checker #5

Closed busykoala closed 5 years ago

busykoala commented 5 years ago

The internal link checker needs to iterate through all internal link objects and test if the reference is broken.

For the objects in the relation catalogue there is a function already isBroken.
For the other in the portal-preference-catalogue we have to check by ourselves if the reference is true.

The entry catalogue can be accessed with:

from zc.relation.interfaces import ICatalog
from zope.component import getUtility

relation_catalog = getUtility(ICatalog) 
tuple(relation_catalog)

More info related on this link

busykoala commented 5 years ago

@maethu there can be several sites on one installation. How shall we define who will get notified per Site?