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.
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.
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.
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.
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?
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 :)
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
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.EnumerableSorter
2.CompareKeys(Int32 index1, Int32 index2) at System.Linq.EnumerableSorter
1.QuickSort(Int32[] map, Int32 left, Int32 right) at System.Linq.EnumerableSorter1.Sort(TElement[] elements, Int32 count) at System.Linq.OrderedEnumerable
1.Craig
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
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.
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
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:
The node id in that example is 1138.
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
Sorry, I hit the wrong post for the answer, it is of course Anthony's (4th one down)!
Nice. I never actually moused over the icon before in v7... good to know.
Can I just delete the uloremsy dll without anything else except restarting the app? I'm running 7.1.8.
Thanks!
Steph
Yes
Thanks!
is working on a reply...