nextcloud/richdocuments

Crash when nextcloud is inside an iframe

Ouverte

#3 209 ouverte le 30 sept. 2023

 (3 commentaires) (0 réaction) (0 personne assignée)JavaScript (145 forks)auto 404
1. to developbuggood first issue

Métriques du dépôt

Stars
 (452 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur