Issue Bug Closed

#104302Error "Cannot read properties of undefined (reading 'contentWindow')" when changing language after "Open in new window"

Daniel Hettler 07/03/24, 13:38 updated 12/02/25, 14:33

Description

Hello,

the language switch is broken when the editors opens a record in a new browser tab. When trying to change the language the JS error is thrown:

ContentContainer.js:13 Uncaught TypeError: Cannot read properties of undefined (reading 'contentWindow')
    at a.get (ContentContainer.js:13:477)
    at Object.handleFormChildNavigateAction (GlobalEventHandler.js:13:1703)
    at Object.handleChangeEvent (GlobalEventHandler.js:13:777)
    at HTMLDocument.<anonymous> (RegularEvent.js:13:364)

I doesn’t matter if you open it by pressing CMD+Click on the edit record link or clicking “Open in new window” in the detail view:

clipboard-202407031528-xu5xi.png

The view is not navigating to the record translation of the selected language:
clipboard-202407031528-v8ek7.png

Goal:
As an editor I want to navigate to a translation of the current record.

Best regards

Reviews 2

Files 2

History 410

  1. Adam Koppe commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-06-23T08:45:11+00:00" > 06/23/25, 08:45 </span>

    Applied in changeset commit:f1cc435c88908b2c3620e91df2084fd26d9c3c10.