We have moved to GitHub Issues
Created by Oliver Wittet 19 Mar 2013, 06:41:05 Updated by Morten Christensen 21 Mar 2013, 16:33:35
As reported here by Tom and me: http://our.umbraco.org/forum/ourumb-dev-forum/bugs/39156-Publish-At-woes-in-602?p=0#comment143718
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 went through the code for the publishingService and it looks like your findings are correct, so I fixed the publish method to set the Published property before refreshing the cache. If you want to verify that this is now working you can use the latest nightly build that I pushed a few minutes ago: http://nightly.umbraco.org/umbraco%206.0.3/UmbracoCms.6.0.3-build.13.zip
Assignee: Morten Christensen
Backwards Compatible: True
Affected versions: 6.0.2
Due in version: 6.0.3