Copied to clipboard

Flag this post as spam?

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


  • stephanie 52 posts 133 karma points
    Nov 26, 2014 @ 02:19
    stephanie
    0

    How to manually delete a problem node

    I'm using 7.1.8, and have a node that has no name in my tree -- it is an author in ublogsy. I've tried to delete it but I get the red error message about contacting a system administrator about the node. Does anyone know how to do this properly in sql server (all related records that need to be deleted/updated as well)? 

    Thanks!

    Stephanie

  • jivan thapa 194 posts 681 karma points
    Nov 26, 2014 @ 07:46
    jivan thapa
    0

    My approach would be using back office. 1) Copy the problem nodes's parent and it's descendents one by one manually. Do not copy/move the problem node. 2) Delete the problem node's parent.

    Or using ContentService

    @{
    var con = ApplicationContext.Current.Services.ContentService.GetById(IdOfTheProblemNode);
     ApplicationContext.Current.Services.ContentService.Delete(con);
    }
    
  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Nov 26, 2014 @ 12:11
  • stephanie 52 posts 133 karma points
    Dec 02, 2014 @ 18:11
    stephanie
    0

    Thanks for your help -- but when I returned to the site 2 days later, I was able to delete the empty node without error. Very strange. But just for future reference, Jeroen, do you think those delete queries are still accurate for version 7.1.8?

    Thanks!

    Steph

Please Sign in or register to post replies

Write your reply to:

Draft