Copied to clipboard

Flag this post as spam?

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


  • Murray Roke 503 posts 966 karma points c-trib
    May 20, 2013 @ 05:24
    Murray Roke
    0

    TreeDataService running thousands of nonsensical updates

    I upgraded a site to umbraco 4.11.8

    I have an issue where I have ~5000 child nodes.

    When I open the parent in the tree  I get this exception (in TreeDataService.ashx)

    Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.

    When I profile it I see thousands of SQL calls like

    update cmsDocument set published = 9770 where nodeId = 1 
    update cmsDocument set published = 9030 where nodeId = 1

    Note the nonsensical  swapping of parameters, and that opening the tree is updating published status Why!?!?!?!?!?

    I've increased the json size

    <jsonSerialization maxJsonLength="2147483647" />

    But that seems to make no difference.

    Anyone know what I should do?

  • Murray Roke 503 posts 966 karma points c-trib
    May 21, 2013 @ 02:45
    Murray Roke
    0

    I also tried changing the schema to the new schema, (and hit /umbraco/dialogs/republish.aspx?xml=true ) but I get the same symptoms

  • Karl Kopp 121 posts 227 karma points
    Jul 15, 2013 @ 03:54
    Karl Kopp
    0

    Did u ever get to the bottom of this??

  • Murray Roke 503 posts 966 karma points c-trib
    Jul 16, 2013 @ 03:06
    Murray Roke
    0

    Yes, I fixed the length issue here: http://issues.umbraco.org/issue/U4-2251

    I just noticed I hadn't followed up on the other issue, so I've added it here: http://issues.umbraco.org/issue/U4-2513

Please Sign in or register to post replies

Write your reply to:

Draft