Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've read a few forum posts with similar issues but none seem to match mine exactly.
This site is a fairly simple site, originally built on 4.11.3, then upgraded to 6.0.2. Client was having issues with publishing previously, however it was different.
The publishing issue now is as follows:
I create a new node. Add a Publish At date and time. When i try to "Save and Publish" i see the following error in a bubble:
"Publishing was cancelled by a third party add-in". This is the error in the log:
2013-03-11 17:55:52,733  INFO Umbraco.Core.Publishing.PublishingStrategy - [Thread 9] Content 'Publish Test' with Id '1268' is awaiting release and could not be published.
I click "Save" and it saves okay.
When the time arrives, the following error is logged:
2013-03-11 17:57:31,281  INFO Umbraco.Core.Publishing.PublishingStrategy - [Thread 9] Content 'Publish Test' with Id '1268' has been published.
2013-03-11 17:57:32,061  ERROR umbraco.presentation.publishingService - [Thread 9] Error publishing node 1268
System.ArgumentNullException: Value cannot be null.
Parameter name: attribute
at System.Xml.Linq.XAttribute.op_Explicit(XAttribute attribute)
at UmbracoExamine.UmbracoContentIndexer.ReIndexNode(XElement node, String type)
at Examine.ExamineManager._ReIndexNode(XElement node, String type, IEnumerable`1 providers)
at umbraco.content.DocumentCacheEventHandler.Invoke(Document sender, DocumentCacheEventArgs e)
at umbraco.content.UpdateDocumentCache(Document d)
at umbraco.library.UpdateDocumentCache(Document doc)
at umbraco.presentation.publishingService.CheckPublishing(Object sender)
Oops: this document is published but is not in the cache (internal error)
2013-03-11 17:58:44,884  WARN Umbraco.Web.Routing.NiceUrlProvider - [Thread 31] Couldn't find any page with nodeId=1268. This is most likely caused by the page not being published.
Oh, here's some steps i've tried to resolve this:
Hmmmm... okay, so i installed a fresh instance of Umbaco 6.0.2. With the Business Starter Site.
Created a new node and set it to publish a few minutes in the future... and.... same issue:
Oops double post.. ignore this one
I have posted a bug on something that you may wish to consider. When you save and publish in V6+ the last published date is one "save" behind.
To check it, look at the date while you hit save and publish, it will most likely be a date in the past, hit again it shows current. The "odd" part is that content gets updated, but properties such as UpdateDate remain one save behind the "current" save. This would seem to explain the issue you were having, ie some parts are published but others aren't, or appear published while others aren't.
The issue is here http://issues.umbraco.org/issue/U4-1883
Hope it helps rather than confuses
Thanks, but i think that is a different issue. With this issue, the page doesn't actually get published to the web (it's not updating the umbraco.config file), even though the status is being changed within Umbaco.
I've verfied this is an issue on my local machine using client website v6.0.2 (upgraded from 4.10.3); on local machine using fresh 6.0.2 install with website starter package; and on a server (client website). Behavoiur is the same across all 3 of these environments.
Looks like a bug in Umbraco to me.. can anybody else confirm or deny this?
It is a bug that is affecting many areas, but all centered around save and publish. There are 4 or 5 reported issues on the issues forum and equally as many on here.
Some properties are not being updated until the AfterSave is triggered, so need another save for "all" properties to be updated.
Bo Mortensen had a similar issue tonight and posted a work around here http://our.umbraco.org/forum/developers/api-questions/39226-PublishingStrategyPublished-event-not-being-hit-in-v6
Hope it helps G
I am a new Umbraco user and just doing some proof of concept work while evaluating CMS software.
I am running 6.0.2 and seeing exactly the same behavior as Greg, basically "Publish At" functionality doesn't work. I'd post what happens on my system, but it's exactly the same as Greg described in his first post.
post fixing the scheduled publish bug we were having in 6.0.0 in 6.0.2 we've found a futher issue with scheduled publishing not actually updating the umbraco cache (aka umbraco.config).
This is because on line 41 of umbraco.presentation.publishingService when you call library.UpdateDocumentCache(d) the document object d has a Published property of false making the method skip it (see if statement on line 354 of method PublishNodeDo in umbraco.content class).
This in effect means the "Publish at" function in 6.0.2 does not work at all (as far as we can tell).
At a guess a simple fix would be to set the Published property to True in the publishingService.
Further investigation shows the UpdateDocumentCache is now being called using the method on line 236 of library.cs bypassing the database.
Let me know if you need further info.
I have updated this issue http://issues.umbraco.org/issue/U4-1948 with a link to the nightly build which fixes the issue as reported by Oliver
Hope this fixes the issue in question.
I am experiencing this same/similar issue. However, I am using Umbraco v. 6.2.2. The scheduled publish does not publish/unpublish the pages when scheduled. What changes do I need to implement to resolve this issue? My client was very excited about this feature and is disappointed it is not working as intended. Thanks in advance for all of the help!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted