Copied to clipboard

Flag this post as spam?

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


  • Nikola 12 posts 132 karma points
    Nov 27, 2018 @ 09:21
    Nikola
    0

    History not updating when publishing a item for the first time

    Hello, I recognized a weird behavior when publishing content for the first time. When you click on the post there is no item in the history under the info tab.

    Gif of the issue: Gif of the issue

    Also in if you look at the audit of a post with the ApplicationContext.Services.AuditService.GetPagedItemsByEntity() there is no item on the first publish. Only the changes after the first publish get written into it.

    Is there a reason for this behavior and can it be "fixed"?

    Thanks in advance

  • Laura Weatherhead 25 posts 153 karma points MVP 6x c-trib
    Nov 28, 2018 @ 13:09
    Laura Weatherhead
    101

    Hey Nikola,

    I have had a quick look into this and it seems like a possible bug - I have posted a PR for it here: https://github.com/umbraco/Umbraco-CMS/pull/3789

    It seems like a possibly oversight, but it may also be that this is intended behaviour so we'll see what happens!

    Cheers, Laura

  • Nikola 12 posts 132 karma points
    Nov 28, 2018 @ 13:30
    Nikola
    0

    Hey Laura,

    Thank you for looking into and brining a solution up, appreciate it a lot!

    Regards
    Nikola

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies