Copied to clipboard

Flag this post as spam?

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


  • Janaka Lakmal 25 posts 72 karma points
    Nov 12, 2013 @ 14:44
    Janaka Lakmal
    0

    MyRecent Content Error

    First of all thank you for the Package Workflow. 

    I have two issues. 

    1. After installing it on Umbraco 6.1.5 MVC project, gave me an error because there was       <add name="SpringHandler" verb="*" path="*.aspx" type="Spring.Web.Support.PageHandlerFactory, Spring.Web" /> added to the config file. When I removed the name attribute it worked. 

     

    2. ON My RecentContent tab gives me an error. The mentioned page is exisits.

    Could not load control: '/usercontrols/fmworkflow/RecentContent.ascx'. 

    Error message: System.ArgumentException: No Document exists with id '1122' at umbraco.cms.businesslogic.web.Document.setupNode() at umbraco.cms.businesslogic.CMSNode..ctor(Int32 Id) at FergusonMoriyam.Workflow.Umbraco.Web.Ui.RecentContent.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at Spring.Web.Support.ControlAccessor.AddedControl(Control control, Int32 index) at Spring.Web.Support.SupportsWebDependencyInjectionOwnerProxy.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at umbraco.cms.presentation.dashboard.OnInit(EventArgs e)

  • Barry Fogarty 493 posts 1129 karma points
    Nov 25, 2013 @ 18:49
    Barry Fogarty
    0

    I have the same issue with RecentContent.ascx.  The No Document exists with id message references the document ID I had previously edited +1 strangely.

  • Barry Fogarty 493 posts 1129 karma points
    Nov 26, 2013 @ 11:59
    Barry Fogarty
    0

    I have some more information - the offending node causing the error is a media item (image).  Maybe the my recent content module should not be looking at media?  Or there is a bug in the query that means it does not handle media.

    Could not load control: '/usercontrols/fmworkflow/RecentContent.ascx'. 
    Error message: System.ArgumentException: No Document exists with id '1693' at umbraco.cms.businesslogic.web.Document.setupNode() at umbraco.cms.businesslogic.CMSNode..ctor(Int32 Id) at umbraco.cms.businesslogic.Content..ctor(Int32 id) at umbraco.cms.businesslogic.web.Document..ctor(Int32 id) at FergusonMoriyam.Workflow.Umbraco.Web.Ui.RecentContent.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at Spring.Web.Support.ControlAccessor.AddedControl(Control control, Int32 index) at Spring.Web.Support.SupportsWebDependencyInjectionOwnerProxy.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at umbraco.cms.presentation.dashboard.OnInit(EventArgs e)

    Umbraco v6.1.6 (Assembly version: 1.0.5021.24867)

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Nov 26, 2013 @ 18:07
    Darren Ferguson
    0

    Looks like a bug. Recent Content tries to instantiate a document using the Document constructor.

    I've seen the issue before when deleted documents are attached to workflow, but what you are saying about media is likely right.

    The patch would probably be just to add some error checking to the code behind of RecentContent.ascx

  • Daniel Bardi 927 posts 2562 karma points
    Mar 27, 2014 @ 15:48
    Daniel Bardi
    0

    Will this be completed soon?

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Mar 28, 2014 @ 13:55
    Darren Ferguson
    0

    Seems like you already fixed it!

  • Daniel Bardi 927 posts 2562 karma points
    Mar 28, 2014 @ 19:35
    Daniel Bardi
    0

    I needed the change.  :)  Thanks for accepting the pull request.

Please Sign in or register to post replies

Write your reply to:

Draft