Copied to clipboard

Flag this post as spam?

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


  • Steven Harland 78 posts 518 karma points c-trib
    May 21, 2015 @ 18:20
    Steven Harland
    0

    Cannot Publish Content Programmatically

    Hi all,

    I'm getting the following error in the log when I try to publish a new content node using ContentService.SaveAndPublishWithStatus:

    2015-05-21 16:28:39,539 [15] INFO  Umbraco.Core.Services.ContentService - [Thread 24] Content 'Testing' with Id '0' could not be published because of invalid properties.

    I am able to save and publish the node in the back office just fine.

    The following links suggest that a mandatory True/false property on an inherited document type may be causing it:

    https://our.umbraco.org/forum/core/general/47969-Content-could-not-be-published-because-of-invalid-properties

    http://issues.umbraco.org/issue/U4-5398

    However, there is no such property on any of the parent document types.

    The Umbraco version is 7.2.4, recently upgraded from 6.2.4. If anyone has any ideas as to what might be causing this can you let me know?

    Thanks.

    Steven.

Please Sign in or register to post replies

Write your reply to:

Draft