I am trying to fix a bug in the blog4umbraco package, but its left me a bit stumped and I am starting to think its actually a bug in the Document_AfterPublish event.
A lot of people have been getting '' error when trying to publish blog posts, and it seems to be caused by the 'Ping' feature not being able to get the nodes URL after publish using 'umbraco.library.NiceUrlFullPath()'.
I changed the method with a try/catch to fall back and use just 'umbraco.library.NiceUrl()' but still it cannot get the URL, NiceURL() doesn't throw an error but returns just a '#' (Hash) - Have a look below:
Am I being stupid and missing the obvious? I am developing locally but surely this shouldn't effect anything?
Document_AfterPublish Bug???
I am trying to fix a bug in the blog4umbraco package, but its left me a bit stumped and I am starting to think its actually a bug in the Document_AfterPublish event.
A lot of people have been getting '' error when trying to publish blog posts, and it seems to be caused by the 'Ping' feature not being able to get the nodes URL after publish using 'umbraco.library.NiceUrlFullPath()'.
I changed the method with a try/catch to fall back and use just 'umbraco.library.NiceUrl()' but still it cannot get the URL, NiceURL() doesn't throw an error but returns just a '#' (Hash) - Have a look below:
Am I being stupid and missing the obvious? I am developing locally but surely this shouldn't effect anything?
Grrr seems you can't edit posts now :(
Anyway the error people are getting when trying to publish a post is 'The given key was not present in the dictionary'
http://our.umbraco.org/projects/collaboration/blog-4-umbraco/using-blog-4-umbraco/12261-The-given-key-was-not-present-in-the-dictionary-after-creating-blogpost
is working on a reply...