I have created a lot of pages and several time I have experienced a very strange (I think we can call it) bug.
Just after creating the page, I am publish it. Some times, when I open
the umbraco BE I see the page as published, but there is not link. When
I`am debuging the link constructor, I receive this:
class umbraco.library, internal static string niceUrlJuno
XmlElement node = UmbracoContext.Current.GetXml().GetElementById(nodeId.ToString()) - > node is null
Exceltion: Couldn't find any page with the nodeId = 1354. This is most likely caused by the page isn't published!
Parameter name: nodeId
Hi, are you using any custom event handlers etc or is this happening on just a regular Umbraco install?
I ask because I received the same error/behavior yesterday, when writing some code to create some documents under a document using an AfterPublish event handler. The fix was to move from AfterPublish to umbraco.content.AfterUpdateDocumentCache, apparently the document isn't yet fully published during AfterPublish.
I have a template, document type and a few controls in the template. I am using a downloaded source code version. The site is running throught Windows 7 + IIS 7 & Visaul Studio 2010.
The problem occurs sometimes and I did not found a specific reason.
Very strange page activity
Hello,
I have created a lot of pages and several time I have experienced a very strange (I think we can call it) bug.
Just after creating the page, I am publish it. Some times, when I open the umbraco BE I see the page as published, but there is not link. When I`am debuging the link constructor, I receive this:
class umbraco.library, internal static string niceUrlJuno
XmlElement node = UmbracoContext.Current.GetXml().GetElementById(nodeId.ToString()) - > node is null
Exceltion: Couldn't find any page with the nodeId = 1354. This is most likely caused by the page isn't published!
Parameter name: nodeId
On this link {http://screencast.com/t/jplZTn7W} you can see that the page is published, but there is no link.
I am using Umbraco source code buil. 4.7.0.378
Hi, are you using any custom event handlers etc or is this happening on just a regular Umbraco install?
I ask because I received the same error/behavior yesterday, when writing some code to create some documents under a document using an AfterPublish event handler. The fix was to move from AfterPublish to umbraco.content.AfterUpdateDocumentCache, apparently the document isn't yet fully published during AfterPublish.
-Tom
No, I haven`t any aditional events or etc.
I have a template, document type and a few controls in the template. I am using a downloaded source code version. The site is running throught Windows 7 + IIS 7 & Visaul Studio 2010.
The problem occurs sometimes and I did not found a specific reason.
Well, I found this - http://our.umbraco.org/forum/developers/api-questions/12710-Modified-Document-Not-Showing-non-published-Status-in-Tree
Umbraco has a major problem with the cache. For example if you copy/move a page - the cache data did not refresh itself.
is working on a reply...