Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • John Ligtenberg 53 posts 214 karma points
    May 21, 2015 @ 17:56
    John Ligtenberg
    0

    Page goes into an endless loop when using Ditto with NestedContent

    Hi,

    When applying Ditto to a page with a field based on the "Nested Content" package, the page goes into an endless loop. This is probably related to the "Warning: If you have a POCO model that contains a reference to a child node, then this may create a circular-reference and cause the model-factory to enter an endless loop!"

    But I am not using DittoPublishedContentModelFactory.

    Is there anything I can do to remedy this problem? I would like to continue to use the nested content field if possible.

    Any suggestions appreciated!

    John

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    May 21, 2015 @ 18:02
    Lee Kelleher
    0

    Hi John,

    Does the DocType for the Nested Content contain any content picker properties? I'm trying to understand what would be causing the circular reference. Strange thing is that others have used Ditto with Nested Content.

    Thanks,
    - Lee

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    May 21, 2015 @ 18:06
    Hendy Racher
    1

    Hi John,

    I can confirm that Ditto and NestedContent work (really) well together, can you post some code or describe your setup so we can try and pin-point the issue ?

    Hendy

  • John Ligtenberg 53 posts 214 karma points
    May 21, 2015 @ 23:32
    John Ligtenberg
    0

    Hello Hendy, Lee,

    I did have the Our.Umbraco.Ditto.ModelFactory in my solution previously, but removed it later, because of the looping problem. The endless loop kept occurring anyway. After I removed the Glimpse7 package the problem went away, but I don't know if that is significant. Things are working OK now. The nested document type has both a media picker and a content picker, but that seems to be no problem. 

    Thanks very much for your help.

    John

     

     

     

Please Sign in or register to post replies

Write your reply to:

Draft