Remove ISequenialIdInfo adapter on content link to suppress infinite recursion due to link indexing
--- a/src/pyams_content/shared/site/link.py Thu Feb 08 11:54:00 2018 +0100
+++ b/src/pyams_content/shared/site/link.py Thu Feb 08 12:27:48 2018 +0100
@@ -80,10 +80,3 @@
target = context.get_target()
if target is not None:
return IWorkflowPublicationInfo(target, None)
-
-
-@adapter_config(context=IContentLink, provides=ISequentialIdInfo)
-def content_link_sequence_info(context):
- target = context.get_target()
- if target is not None:
- return ISequentialIdInfo(target, None)