Copied to clipboard

Flag this post as spam?

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


  • Marko Tukić 2 posts 72 karma points
    Aug 19, 2022 @ 13:48
    Marko Tukić
    0

    NewsletterStudio and Umbraco.Forms 9.5 not working together

    Not sure this is right forum for this. I have a bug with BackOffice not showing entries under any form (if you click "Entries" right side is empty). Bug appeared with new version of Umbraco.Forms 9.5. Bug only apears if NewsletterStudio plugin is also installed and debug is turned off. Might be Smidge related?

    umbraco-backoffice-js.js.v637965129667461922:145 ReferenceError: currentUserId is not defined at umbraco.forms.js:7613:41 at umbraco-backoffice-js.js.v637965129667461922:158:235 at m.$digest (umbraco-backoffice-js.js.v637965129667461922:169:385) at m.$apply (umbraco-backoffice-js.js.v637965129667461922:173:259) at k (umbraco-backoffice-js.js.v637965129667461922:124:309) at v (umbraco-backoffice-js.js.v637965129667461922:129:422) at y.onload (umbraco-backoffice-js.js.v637965129667461922:130:335) 'Possibly unhandled rejection: {}'

    I also cannot downgrade Umbraco.Forms 9.5 -> 9.4 - even though migration looks succesfull in logs, umbraco doesn't boot up. Any tips would be very welcome.

  • Jack Wilson 2 posts 72 karma points c-trib
    Jul 28, 2023 @ 11:24
    Jack Wilson
    0

    I'm getting this same error using Umbraco 11.4.2, Umbraco.Forms 11.2.0 and NewsletterStudio 11.0.3. Did you find a solution to this?

  • Markus Johansson 1924 posts 5831 karma points MVP c-trib
    Sep 22, 2023 @ 19:23
    Markus Johansson
    0

    Hi!

    I'm the author of the Newsletter Studio package and since this was posted outside the topics that I want for the package I missed these threads.

    For anyone having similar issues, I do not think that this has anything to do with Forms and Newsletter Studio being incompatible but I looks more like an issue with caches or old clientside assets (javascript files).

    I would recommend that you make sure to:

    • Verify that you any server side cache was purged / invalidated after the packages was updated

    • Make sure that the browser cache is cleaned.

    I tend to have this in appsettings.json for backoffice assets which serves me well:

    "Umbraco": {
      "CMS": {
        "RuntimeMinification": {
          "UseInMemoryCache": true,
          "CacheBuster": "Version"
        }
      }
    }
    

    Edit: Also seems like there was a known issue with this in come versions of Umbraco Forms: https://github.com/umbraco/Umbraco.Forms.Issues/issues/1056

    The problem only seems to happen when you run the site with "debug:false".

Please Sign in or register to post replies

Write your reply to:

Draft