Copied to clipboard

Flag this post as spam?

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


  • Mark Slade 48 posts 109 karma points
    Apr 07, 2015 @ 17:47
    Mark Slade
    0

    SaveAndPublishWithStatus still fires events when you say NO

    Hi Guys,

    I've written some code to add content to a node with the item has been published. But, when I save the node with SaveAndPublishWithStatus(Node, 0, False). The published event still fires even though i've told it that I don't want the event to fire. So I'm getting into a loop until everything falls over.

    Any ideas, am I doing something wrong?

    Mark

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Apr 07, 2015 @ 18:04
    Nicholas Westby
    0

    Sounds like an Umbraco bug. What version of Umbraco are you using?

  • Mark Slade 48 posts 109 karma points
    Apr 07, 2015 @ 18:19
    Mark Slade
    0

    v6.2.5

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Apr 07, 2015 @ 19:02
    Nicholas Westby
    1

    If it is a bug, I doubt it will get fixed in the 6.x branch, as all development on that is now frozen aside from important security fixes.

    Any chance you'd be able to upgrade to Umbraco 7? If not, maybe you can come up with a workaround (I have a few ideas). Might also be a good idea to post some small amount of code that we can use to reproduce the issue; maybe there is a problem with your code that we could point out.

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Apr 14, 2015 @ 17:42
Please Sign in or register to post replies

Write your reply to:

Draft