Copied to clipboard

Flag this post as spam?

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


  • Craig100 1136 posts 2523 karma points c-trib
    Jan 11, 2015 @ 12:52
    Craig100
    0

    Ghost Nodes

    Using Umb V7.2.1 and uBlogsy V4.1.

    If I create a new Category or a new Post, when they are saved, they create a new, empty node right above the wanted one in the tree. I have to delete the "ghost" ones manually.

    Is there a fix for this?

    Cheers,

    Craig

  • Craig100 1136 posts 2523 karma points c-trib
    Jan 11, 2015 @ 13:09
    Craig100
    0

    Yesterday I could manually remove these ghost nodes. Today I get this, even after restarting the app pool:-

    Actions Properties Id 1182 Created by Original author Craig Created Date/time this document was created 2015-01-10 15:32:48 Last edited Date/time this document was edited 2015-01-11 01:58:17 Document Type [uBlogsy] Container - Label Publish at

    Unpublish at

    Template

    Link to document /blog/categories-optional/ Hide from navigation

    302 Redirect Add Invisible Redirect Add Url Name Change

    Url Alias

    Save and publish Return to list HomeCategories (optional) Received an error from the server Failed to delete item 1206

    Length cannot be less than zero. Parameter name: length

    EXCEPTION DETAILS:

    System.ArgumentOutOfRangeException: Length cannot be less than zero. Parameter name: length STACKTRACE:

    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at Umbraco.Core.Persistence.Repositories.SimilarNodeNameComparer.Compare(String x, String y) at System.Linq.EnumerableSorter2.CompareKeys(Int32 index1, Int32 index2) at System.Linq.EnumerableSorter1.QuickSort(Int32[] map, Int32 left, Int32 right) at System.Linq.EnumerableSorter1.Sort(TElement[] elements, Int32 count) at System.Linq.OrderedEnumerable1.

    Craig

  • Craig100 1136 posts 2523 karma points c-trib
    Jan 11, 2015 @ 13:45
    Craig100
    0

    And now, after re-publishing the whole site (actually the TXT test site) all posts are missing from the front end. Not even available for search. Something is broken bad.

    Other packages installed include:- SEO Checker Config Tree Diplo Trace Log Viewer Slimsy Archetype ezSearch

    Site worked fine until adding a new Category and Post. Are we sure uBlogsy is ok with V7.2.1?

    In the Trace Logs I'm getting plenty of Errors from the SEOChecker:-

    Level ERROR Logger SEOChecker.HttpModules.UrlModule Thread No: 33 , Id: 65 SEOChecker: Error in HttpModule for url rewriting System.UriFormatException: Invalid URI: The hostname could not be parsed. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at System.Uri..ctor(String uriString) at System.UriBuilder.get_Uri() at SEOChecker.Core.Extensions.UrlBuilderExtensions.ToUri(UrlBuilder builder) at SEOChecker.Core.Extensions.HttpContextExtensions.RawUri(HttpContext context) at SEOChecker.Core.Extensions.HttpContextExtensions.RawUrl(HttpContext context) at SEOChecker.HttpModules.UrlModule.(Object , EventArgs )

    Dont know whether this is significant or not as it's only a test site running on localhost and therefore unlicensed.

    Craig

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jan 11, 2015 @ 19:20
    Anthony Dang
    0

    Hi

    Iv'e been working on this issue this weekend.

    The issue is because umbraco 7 does things differently to umbraco 4&6 at document creation.

    Specifically, the issue with uLoremsy relying on the way the older api's worked. The easiest thing to do is the either disable it in /config/uLoremsy.config or to delete the dll.

     

     

  • Craig100 1136 posts 2523 karma points c-trib
    Jan 11, 2015 @ 19:45
    Craig100
    100

    Hi Anthony,

    Thanks for that. In uLoremsy I've set uLoremsy/tree enabled="false" and restarted the app. I can now create new Categories and Posts without the extra unwanted nodes appearing, which is great.

    However, how do I delete the ghost category and post that are causing the exception when trying to delete them. Is there some other way?

    Thanks,

    Craig

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jan 11, 2015 @ 19:57
    Anthony Dang
    0

    There are a couple ways... raw sql is one.

    Alternatively i think the following will work...

    Find out the node id either via the browser inspector, or by sql. Then hit the browser:

    /umbraco/#/content/content/edit/<THE NODE ID>

    You can then in theory add a node name. After that you should be able to delete it as normal.

     

    The browser inspector will show you something like this:

    <i style="background-image: url('/umbraco/images/umbraco/folder_table.png');" title="content/content/edit/1138" class="icon umb-tree-icon sprTree legacy-custom-file"></i>

     

    The node id in that example is 1138.

     

     

     

  • Craig100 1136 posts 2523 karma points c-trib
    Jan 11, 2015 @ 20:09
    Craig100
    0

    Worked like a dream.

    If you mouse over the icon next to a post or category, it shows you the ID number. So changing the ID in the address bar when looking at another category/post allows you to get there directly. Added a Name, saved then deleted :)

    Many thanks,

    Craig

  • Craig100 1136 posts 2523 karma points c-trib
    Jan 11, 2015 @ 20:11
    Craig100
    0

    Sorry, I hit the wrong post for the answer, it is of course Anthony's (4th one down)!

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jan 11, 2015 @ 21:15
    Anthony Dang
    0

    Nice. I never actually moused over the icon before in v7... good to know.

  • stephanie 52 posts 133 karma points
    May 11, 2015 @ 16:34
    stephanie
    0

    Can I just delete the uloremsy dll without anything else except restarting the app? I'm running 7.1.8. 

    Thanks!

    Steph

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    May 12, 2015 @ 16:04
    Anthony Dang
    0

    Yes

  • stephanie 52 posts 133 karma points
    May 12, 2015 @ 16:08
    stephanie
    0

    Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft