nextcloud/richdocuments

Crash when nextcloud is inside an iframe

Aperta

#3209 aperta il 30 set 2023

 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (145 fork)auto 404
1. to developbuggood first issue

Metriche repository

Star
 (452 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor