Copied to clipboard

Flag this post as spam?

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


  • Damon 217 posts 288 karma points
    Mar 29, 2016 @ 21:29
    Damon
    0

    Using API to unpublish node - then when attempt to manual publish it locks

    Hi,

    I successfully unpublish a node using the API in a controller and content service.

    When you log into the CMS back office the node shows as unpublished.

    However, when I try to manually publish this node, the green button greys out and it looks locked. But it is not actually locked, if you refresh the cms page the green button goes back to normal and the node has actually been published as it should.

    Does anyone have any idea why this happens? Its like it publishes but gets stuck. By the way, the second time publishing this node works fine.

    Do I have to use UpdateDocumentCache or update the cache in some way?

    Thanks a lot for any info!

  • Richard Terris 273 posts 715 karma points
    Apr 05, 2016 @ 09:37
    Richard Terris
    1

    If you open developer tools in the browser, and then click the publish button, you should see any errors which may be occurring.

    It would be helpful to post any errors here, might make it easier for someone to help you.

Please Sign in or register to post replies

Write your reply to:

Draft