Copied to clipboard

Flag this post as spam?

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


  • Mark 49 posts 130 karma points
    Jul 05, 2014 @ 04:33
    Mark
    0

    Problem creating property editors - too much recursion

    Hey, so I have been having problems creating custom property editors lately, it seems that sometime during development something goes wrong - perhaps some invalid javascript in the controller or view or something (although this is doubtful as usually my code is perfect). Anyway, umbraco will then break (throw recursion javascript error - see snippet below) and become unfixable - even after removing ALL files in the App_Plugins - by unfixable I mean, touching the web.config, clearing out Temporary ASP.NET files, clearing browser cache/cookies.

    This is with a clean install of umbraco 7.1.4.

    Any help would be much appreciated, I have created quite a few v7 property editors and am really unable to see what might be going wrong...

    AFTER
    POST http://umbraco.v7.1.4.local/umbraco/backoffice/UmbracoApi/Authentication/PostLogin
    OR
    GET http://umbraco.v7.1.4.local/umbraco/backoffice/UmbracoApi/UpdateCheck/GetCheck
    Error:
     too much recursion
    .type@http://umbraco.v7.1.4.local/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd1bGFyLzEuMS41L2FuZ3VsYXIubWluLmpzOy91bWJyYWNvL2xpYi91bmRlcnNjb3JlL3VuZGVyc2NvcmUuanM7L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktdWktMS4xMC4zLmN1c3RvbS5taW4uanM7L3VtYnJhY28vbGliL2FuZ3VsYXIvMS4xLjUvYW5ndWxhci1jb29raWVzLm1pbi5qczsvdW1icmFjby9saWIvYW5ndWxhci8xLjEuNS9hbmd1bGFyLW1vYmlsZS5qczsvdW1icmFjby9saWIvYW5ndWxhci8xLjEuNS9hbmd1bGFyLXNhbml0aXplLm1pbi5qczsvdW1icmFjby9saWIvYW5ndWxhci9hbmd1bGFyLXVpLXNvcnRhYmxlLmpzOy91bWJyYWNvL2xpYi9qcXVlcnkvanF1ZXJ5LnVwbG9hZC9qcy9qcXVlcnkuZmlsZXVwbG9hZC5qczsvdW1icmFjby9saWIvan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mV3UmVsYXRpb25UeXBlLmpzOw&t=Javascript&cdv=1035963276:2:3230
    .isPlainObject@http://umbraco.v7.1.4.local/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd1bGFyLzEuMS41L2FuZ3VsYXIubWluLmpzOy91bWJyYWNvL2xpYi91bmRlcnNjb3JlL3VuZGVyc2NvcmUuanM7L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktdWktMS4xMC4zLmN1c3RvbS5taW4uanM7L3VtYnJhY28vbGliL2FuZ3VsYXIvMS4xLjUvYW5ndWxhci1jb29raWVzLm1pbi5qczsvdW1icmFjby9saWIvYW5ndWxhci8xLjEuNS9hbmd1bGFyLW1vYmlsZS5qczsvdW1icmFjby9saWIvYW5ndWxhci8xLjEuNS9hbmd1bGFyLXNhbml0aXplLm1pbi5qczsvdW1icmFjby9saWIvYW5ndWxhci9hbmd1bGFyLXVpLXNvcnRhYmxlLmpzOy91bWJyYWNvL2xpYi9qcXVlcnkvanF1ZXJ5LnVwbG9hZC9qcy9qcXVlcnkuZmlsZXVwbG9hZC5qczsvdW1icmFjby9saWIvanF1ZXJ5L2pxdWVyeS51cGxvYWQvanMvbG9hZC1pbWFnZS5taW4uanM7L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnkudXBsb2FkL2pzL2pxdWVyeS5maWxldXBsb2FkLXByb2Nlc3MuanM7L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnkudXBsb2FkL2pzL2pxdWVyeS5maWxldXBsb2FkLWltYWdlLmpzOy91bWJyYWNvL2xpYi9qcXVlcnkvanF1ZXJ5LnVwbG9hZC9qcy9qcXVlcnkuZmlsZXVwbG9hZC1hbmd1bGFyLmpzOy91bWJyYWNvL2xpYi9ib290c3RyYXAvanMvYm9vdHN0cmFwLjIuMy4yLm1pbi5qczsvdW1icmFjby9saWIvdW1icmFjby9FeHRlbnNpb25zLmpzOy91bWJyYWNvL2xpYi91bWJyYWNvL05hbWVzcGFjZU1hbmFnZXIuanM7L3VtYnJhY28vbGliL3VtYnJhY28vTGVnYWN5VW1iQ2xpZW50TWdyLmpzOy91bWJyYWNvL2xpYi91bWJyYWNvL0xlZ2FjeVNwZWVjaEJ1YmJsZS5qczsvdW1icmFjby9qcy9hcHAuanM7L3VtYnJhY28vanMvdW1icmFjby5yZXNvdXJjZXMuanM7L3VtYnJhY28vanMvdW1icmFjby5kaXJlY3RpdmVzLmpzOy91bWJyYWNvL2pzL3VtYnJhY28uZmlsdGVycy5qczsvdW1icmFjby9qcy91bWJyYWNvLnNlcnZpY2VzLmpzOy91bWJyYWNvL2pzL3VtYnJhY28uc2VjdXJpdHkuanM7L3VtYnJhY28vanMvdW1icmFjby5jb250cm9sbGVycy5qczsvdW1icmFjby9qcy9yb3V0ZXMuanM7L3VtYnJhY28vanMvaW5pdC5qczsvdW1icmFjby9kZXZlbG9wZXIvUmVsYXRpb25UeXBlcy9UcmVlTWVudS9BY3Rpb25EZWxldGVSZWxhdGlvblR5cGUuanM7L3VtYnJhY28vZGV2ZWxvcGVyL1JlbGF0aW9uVHlwZXMvVHJlZU1lbnUvQWN0aW9uTmV3UmVsYXRpb25UeXBlLmpzOw&t=Javascript&cdv=1035963276:2:1
    x.fn.extend@http://umbraco.v7.1.4.local/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd1bGFyLzEuMS41L2FuZ3VsYXIubWluLmpzOy91bWJyYWNvL2xpYi91bmRlcnNjb3JlL3VuZGVyc2NvcmUuanM7L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktdWktMS4xMC4zLmN1c3RvbS5taW4uanM7L3VtYnJhY28vbGliL2FuZ3VsYXIvMS4xLjUvYW5ndWxhci1jb29raWVzLm1pbi5qczsvdW1icmFjby9saWIvYW5ndWxhci8xLjEuNS9hbmd1bGFyLW1vYmls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9sbGVycy5qczsvdW1icmFjby9qcy9yb3V0ZXMuanM7L3VtYnJhY28vanMvaW5pdC5qczsvdW1icmFjby9kZXZlbG9wZXIvUmVsYXRpb25UeXBlcy9UcmVlTWVudS9BY3Rpb25EZWxldGVSZWxhdGlvblR5cGUuanM7L3VtYnJhY28vZGV2ZWxvcGVyL1JlbGF0aW9uVHlwZXMvVHJlZU1lbnUvQWN0aW9uTmV3UmVsYXRpb25UeXBlLmpzOw&t=Javascript&cdv=1035963276:2:2403
  • Jan Skovgaard 11239 posts 23375 karma points MVP 6x admin c-trib
    Jul 05, 2014 @ 07:39
    Jan Skovgaard
    0

    Hi Mark

    Have you set debug to true in the web.config? If not that's probably the reason why it seems unfixable since Umbraco is caching pretty hard.

    Just search for "debug" in the web.config and set the attribute to true.

    Hope this helps.

    /Jan

  • Mark 49 posts 130 karma points
    Jul 05, 2014 @ 08:22
    Mark
    0

    Yes have done that, no luck.

    So list of things tried.

    • deleting /App_code/TEMP folder
    • touching web.config
    • restarting IIS
    • cleaning out Temporary ASP.NET Files
    All of this after removing all files from /App_Plugins, so it seems that somewhere umbraco is hard caching something about the App_plugins...
    The only things changed in this project from a clean install of umbraco 7.1.4 were the addition of a folder/files under App_Plugins in creating a new property editor.

    Sorry the code pasted above was with debug="false" as I had just done a test of the bug from clean install - screenshot below shows error without the compiled dependencyhandler.axd.

  • Mark 49 posts 130 karma points
    Jul 06, 2014 @ 03:02
    Mark
    0

    Including a bit more information for recreating the issue

    • clean install of 7.1.4
    • create simple property editor under App_Plugins
    • in the umbraco backend create new data type from plugin
    • modify property editor - add prevalue view/controller
    • check backend, working fine - shows simple textbox with model value
    • modify property editor, add more complex code to prevalue view/controller
    • website broken.
    • revert changes - website still broken
    • attempt all fixes listed in previous post, still broken
  • Pasang Tamang 239 posts 344 karma points
    Jul 06, 2014 @ 07:16
    Pasang Tamang
    0

    Hi Mark,

    Looking into the screenshot you have attached the problem is in Firefox. Did you check the workaround in other browser also? May be you are using some browser specific keyword in your js file. Same problem has been discussed here http://forums.asp.net/t/1107768.aspx?+too+much+recursion+error+in+FireFox+. This might be helpful.

    Thanks
    PTamang 

     

  • Mark 49 posts 130 karma points
    Jul 06, 2014 @ 12:08
    Mark
    0

    Hmmmm, so did some investigation and appears to be a firebug issue, how odd - disabling firebug means it works just fine - must be new change (firebug? or umbraco?) since I have been developing with Umbraco using firebug for years now...

  • Pasang Tamang 239 posts 344 karma points
    Jul 06, 2014 @ 13:54
    Pasang Tamang
    0

    I have been using firebug for development and no such problem yet even in U7. Might be you have used some keyword that is required for firebug?

  • Mark 49 posts 130 karma points
    Jul 06, 2014 @ 21:38
    Mark
    0

    I did have no issues initially with a clean install, however as mentioned above I removed all the files I had added (so App_Plugins was the only folder changed) and the issue persisted. So my thoughts are that perhaps when a new datatype is added to umbraco there are some load events loading information from the database or something?

Please Sign in or register to post replies

Write your reply to:

Draft