Cycle Detected in Content Delivery API After Converting a IDataListSource to IPublishedContent #427
Replies: 4 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
I read the docs for deeply nested JSON and have tried various settings:
Unfortunately, this leads to other exceptions:
And sometimes:
And this one is incredibly annoying, as it suggests setting
|
Beta Was this translation helpful? Give feedback.
-
I'm sorry @leekelleher, I created a minimal demo using a fresh install of Umbraco 13. There's so much going on in my production application that it would be good to rule out any of our first-party code. |
Beta Was this translation helpful? Give feedback.
-
@markadrake A quick reply, as I haven't looked into this issue yet. I haven't used the Delivery API with Contentment before, so was hoping that someone would shout if there were any issues... and now I'm aware of the serialization troubles. |
Beta Was this translation helpful? Give feedback.
-
I've found myself in another situation, hoping someone can add the missing context for me.
I created a custom Data List Source. This data source grabs only the appropriate content nodes, which the author can choose from as a property editor.
Before implementing the
IDataSourceValueConverter
→Umbraco Models Builder returned a string, ultimately the GUID of the chosen content item.
After implementing the
IDataSourceValueConverter
→Umbraco Models Builder returns
IPublishedContent
but simultaneously causes the Content Delivery API to cycle into oblivion.
IDeliveryApiPropertyValueConverter
to my project, but it naturally conflicted with the existing converter for Data Lists.IPublishedContent
for the Models Builder without breaking the Content Delivery API. It may be a misconfiguration on my part.I'm stumped again. 🫣
Thank you for any insights that you can provide!
Beta Was this translation helpful? Give feedback.
All reactions