Copied to clipboard

Flag this post as spam?

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


  • Daniel 3 posts 73 karma points notactivated
    Jul 01, 2024 @ 13:41
    Daniel
    0

    Issue with chunked cookies

    Hi, After installation (10.0.15), i'm immediately faced with a NullReferenceException when opening the tool in the backoffice:

    System.NullReferenceException, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e: Object reference not set to an instance of an object.
    
    at NewsletterStudio.Web.Services.CurrentUserService.GetBackofficeClaimsIdentity()
    
    at NewsletterStudio.Web.Services.CurrentUserService.GetCurrent()
    
    at NewsletterStudio.Core.Services.WorkspaceService.<CurrentUserAccess>b__31_0()
    

    Looking at and debugging the source, it looks like chunked cookies are not handled at all. I think it's the exact same issue described here: https://github.com/umbraco/Umbraco-CMS/issues/13402

    image showing the value of the backoffice auth cookie

    Is this fixed in newer versions already? Will it be fixed for 10? We would be unable to upgrade from Umbraco 10 for a while, so this issue unfortunately completely blocks us from using Newsletter studio.

  • Markus Johansson 1930 posts 5857 karma points MVP 2x c-trib
    Jul 01, 2024 @ 15:22
    Markus Johansson
    0

    Hi!

    Sorry to hear that you're having this issue and thanks a lot for making me aware, I have not seen it before.

    After looking at the Github-issue it seems like it is related to having many user groups? I this the case for use as well?

    Do you have a solid way to reproduce the issue? I will try my self but if you have any insights that would be very helpful.

    All the best!

    // Markus

  • Daniel 3 posts 73 karma points notactivated
    Jul 02, 2024 @ 07:27
    Daniel
    0

    Hey, yes it seems to be related to the number of assigned groups plus areas. My user has the following groups: user with a lot of assigned groups

    And when create and log in with a user with the following groups, the cookie is not chunked, and i can get into newsletter studio without issue: user with one assigned group

  • Markus Johansson 1930 posts 5857 karma points MVP 2x c-trib
    Jul 26, 2024 @ 11:10
    Markus Johansson
    0

    Hi!

    Just updating here to let you know that a fix for this has been included in the latest releases for supported Umbraco versions.

    https://www.newsletterstudio.org/versions/10/

Please Sign in or register to post replies

Write your reply to:

Draft