Copied to clipboard

Flag this post as spam?

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


  • Jais Edelmann 45 posts 126 karma points
    Feb 07, 2013 @ 13:32
    Jais Edelmann
    0

    medialibrary section empty

    Hey guys, this solution have had problems with the medialibrarying beeing "empty" atleast according to the backend for a long time, and we've decided to give it another go to try and fix it.


    Here's the log info from umbracoLog

     

    id userId NodeId Datestamp logHeader logComment

    161708 0 -1 2013-02-07 13:29:37.170 Error At /umbraco/webservices/TreeDataService.ashx?rnd=1251c1c91e7d4dffbaf5879638fe5ec5&id=-1&treeType=media&contextMenu=true&isDialog=false&rnd2=13.3 (Referred by: http://localhost/umbraco/umbraco.aspx): ;

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 07, 2013 @ 13:49
    Jan Skovgaard
    0

    Hi Jais

    What version of Umbraco are you using?

    Any chance it's 4.9?

    /Jan

  • Jais Edelmann 45 posts 126 karma points
    Feb 07, 2013 @ 13:59
    Jais Edelmann
    0

    I'm running 4.7.0 

     

    When i try and call the URL i get the following stacktrace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.cms.presentation.Trees.MediaRecycleBin.CreateRootNode(XmlTreeNode& rootNode) +237
       umbraco.cms.presentation.Trees.BaseTree.CreateRootNode() +201
       umbraco.cms.presentation.Trees.BaseTree.Initialize() +425
       umbraco.cms.presentation.Trees.BaseTree.get_RootNode() +39
       umbraco.loadMedia.CreateRecycleBin() +281
       umbraco.loadMedia.Render(XmlTree& tree) +68
       umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams) +225
       umbraco.presentation.webservices.TreeDataService.GetXmlTree() +229
       umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context) +128
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +857
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +182

     

  • Jais Edelmann 45 posts 126 karma points
    Feb 07, 2013 @ 14:25
    Jais Edelmann
    0

    I checked the node table and i have a node with ID -20 and -21 and they both have the text Recycle bin?

     

    Edit: I triede deleting both nodes and running this insert script:

    SET IDENTITY_INSERT [umbracoNode] ON
    INSERT [umbracoNode]([id]
          ,[trashed]
          ,[parentID]
          ,[nodeUser]
          ,[level]
          ,[path]
          ,[sortOrder]
          ,[uniqueID]
          ,[text]
          ,[nodeObjectType]
          ,[createDate])
    VALUES (-21, 0,-1,0,0,'-1,21',0,'BF7C7CBC-952F-4518-97A2-69E9C7B33842','Recycle Bin','CF3D8E34-1C1C-41E9-AE56-878B57B32113',getDate())
    
    SET IDENTITY_INSERT [umbracoNode] OFF
  • Jais Edelmann 45 posts 126 karma points
    Feb 07, 2013 @ 14:55
    Jais Edelmann
    0

    I triede looking at the link that gets pushed when i click media archive this is the link:

    http://localhost/umbraco/tree.aspx?rnd=f0f766f52b754c4a9973e4c5399b5fe0\u0026id=-1\u0026treeType=media\u0026contextMenu=true\u0026isDialog=false

     

    this is the results is:

     

     nodeID="" text="Error" iconClass="" action="" menu="" rootSrc="" src="" icon="" openIcon="" nodeType="NullTree" hasChildren="false"/>
    Also when i try and use sort i get the list of categories so im very confuse to say the least, and the frontend is working just fine?
  • Jais Edelmann 45 posts 126 karma points
    Mar 10, 2013 @ 21:14
    Jais Edelmann
    0

    /bump

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies