nextcloud/richdocuments

Crash when nextcloud is inside an iframe

Offen

#3.209 geöffnet am 30.09.2023

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (145 Forks)auto 404
1. to developbuggood first issue

Repository-Metriken

Stars
 (452 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Describe the bug When Nextcloud is inside an iframe, the new code for a dark interface crashes the richdocuments app.

To Reproduce Steps to reproduce the behavior:

  1. Have nextcloud in an iframe
  2. Open a richdocument file

Expected behavior The document should open

Client details:

  • OS: archlinux
  • Browser firefox
  • Version: 118.0
  • Device: desktop

Server details

Operating system: Debian 11

Web server: Apache

Database: Mysql

PHP version: 8.2

Nextcloud version: 27.1.1

Version of the richdocuments app 8.2

Version of Collabora Online 22.05.12.2

Browser log

The javascript console log :

Permission denied to access property "document" on cross-origin object

Contributor Guide