Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jason Prothero 422 posts 1243 karma points MVP c-trib
    Jul 01, 2010 @ 17:37
    Jason Prothero
    0

    Publish At not working: Publishes, but no URL is created so it isn't visible on the site.

    * Umbraco version: 4.0.4.2 (just upgraded from 4.0.2.1 in hopes it would fix the problem)

    When I set the Publish At date, save and wait for the content to show the following happens:

    • My content publishes
    • The "Link to document" field is empty on the Properties tab
    • The Publish log gets a new entry:
      Publish Administrator (none) 7/1/2010 8:25:48 AM
    • The Error log shows this:
    Error Administrator (none) 7/1/2010 8:25:48 AM Error publishing node: System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.library.niceUrlDo(Int32 nodeID, Int32 startNodeDepth) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\library.cs:line 385 at umbraco.library.NiceUrlFullPath(Int32 nodeID) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\library.cs:line 374 at Umlaut.Umb.Blog.EventHandlers.Autoping.Document_AfterPublish(Document sender, PublishEventArgs e) in C:\Consulting\UmbracoWebSites\blog4umbraco-36429\Umlaut.Umb.Blog\Umlaut.Umb.Blog\EventHandlers\Autoping.cs:line 43 at umbraco.cms.businesslogic.web.Document.PublishEventHandler.Invoke(Document sender, PublishEventArgs e) at umbraco.cms.businesslogic.web.Document.FireAfterPublish(PublishEventArgs e) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\web\Document.cs:line 1420 at umbraco.cms.businesslogic.web.Document.PublishWithResult(User u) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\web\Document.cs:line 167 at umbraco.cms.businesslogic.web.Document.Publish(User u) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\cms\businesslogic\web\Document.cs:line 119 at umbraco.presentation.publishingService.CheckPublishing(Object sender) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\publishingService.cs:line 42

     

    If I "Republish entire site" on the "Content" node, the scheduled content shows up. 

    I've tried using the Document.ReleaseDate property to set the "Publish At" within the API and get the same result.

    This is a fairly straight-forward install.  One server, one DB.  Windows Server 2003 R2 SP2. 

    Any thoughts?  Why would it not create a node?

  • algiecas 1 post 21 karma points
    Aug 03, 2010 @ 23:52
    algiecas
    0

    I have the same problem - have you managed to solve it? I also upgraded from 4.0.4.2 to 4.5.1 hoping it would be fixed, but no luck...

  • Fergus Davidson 309 posts 588 karma points
    Oct 04, 2010 @ 19:11
    Fergus Davidson
    0

    not sure if you found a solution to this yet - i just came across the post.

    i have no solution as such, but i have just tested on v4.04.2 and all is well here.

    publishes and creates the document

  • Jason Prothero 422 posts 1243 karma points MVP c-trib
    Oct 04, 2010 @ 19:48
    Jason Prothero
    0

    I solved it a different way.  It works on other installs, just not this specific one.

    Not sure what is different.  Perhaps it will go away when we find the time to upgrade to 4.5

Please Sign in or register to post replies

Write your reply to:

Draft