Broken Email Export (Newsletter-Studio)

Hi!

I have trouble to export a mailing list in Newsletter-Studio via the Umbraco gui.

When i click on export i get following console error:

  • Chrome (v149.0.7827.115):
    • Uncaught SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'blob:https://localhost:8443/c74cefad-9448-4a3c-a9ac-917326c88f80' cannot be created in a document with origin 'https://localhost:8443' and URL 'https://localhost:8443/umbraco/section/newsletter-studio/workspace/ns-recipient/list/dc570ca9-0748-465d-a797-4642e3173a40'.
          at e.<computed> (:8443/umbraco/backoffice/60ab44b476ba3ac695596c8678226c7537aa3890/packages/core/router/index.js:51:39)
          at e.<computed> [as pushState] (:8443/umbraco/backoffice/60ab44b476ba3ac695596c8678226c7537aa3890/packages/core/router/index.js:51:39)
          at :8443/umbraco/backoffice/60ab44b476ba3ac695596c8678226c7537aa3890/packages/core/router/index.js:194:134
          at f.triggerBrowserDownload (ns-recipient-export-downloader.v17_0_8.js:17:53)
      
  • Firefox (v151.0.4):
    • Uncaught DOMException: The operation is insecure.
          t history.ts:63
          t history.ts:63
          Et anchor.ts:59
          triggerBrowserDownload ns-recipient-export-downloader.v17_0_8.js:17
          execute ns-maling-list-export.action.v17_0_8.js:8
          run campaign-report-workspace.context.v17_0_8.js:17368
          render campaign-report-workspace.context.v17_0_8.js:17379
          handleEvent lit-element.v17_0_8.js:448
      history.ts:63:8
          t history.ts:63
          t history.ts:63
          Et anchor.ts:59
          triggerBrowserDownload ns-recipient-export-downloader.v17_0_8.js:17
          InterpretGeneratorResume self-hosted:1312
          AsyncFunctionNext self-hosted:780
          (Async: async)
          execute ns-maling-list-export.action.v17_0_8.js:8
          run campaign-report-workspace.context.v17_0_8.js:17368
          InterpretGeneratorResume self-hosted:1312
          AsyncFunctionNext self-hosted:780
          (Async: async)
          render campaign-report-workspace.context.v17_0_8.js:17379
          handleEvent lit-element.v17_0_8.js:448
      

On the network tab in Firefox i can see a request with the correct response that contains a comma separated list with the data.

I use Umbraco 17.4.2 with Newsletter-Studio 17.0.8.

Does anyone know how to fix this issue? :slight_smile:

@markusjoha Can you help?

@Raphie Thanks for reporting this!

I noticed this when working on the v18 upgrade, some breaking change in Umbraco has caused this issue, I’m working on a fix for v17 as well.

I hope to be able to release it within the next couple of days, I’ll ping you here.

// Markus

Nice, thank you ^^

Hi!

Just wanted to let you know what this has been fixed in the latest release for v17 and v18.

Info about 17.0.9

Info about 18.0.0

Thank you for reporting this issue!