cryptpad / cryptpad/nextcloud-open-in-cryptpad
Diagrams.net diagram crashes while editing
- Dominant language
- PHP
- Stars
- 7
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Steps to reproduce in an Opendesk 1.1.1 environment:
- Go to Nextcloud
- Open an existing diagram or create a new "Diagrams.net diagram"
- You see the loading screen from Cryptpad for a few seconds until the diagram is loaded
- Edit the diagram for a while
Expected result: The diagram can be edited without crashes
Actual result:
- Suddenly, the diagram disappears and you see the loading screen again, as if you just opened the diagram for editing
- After a few seconds, the diagram is loaded again and can be edited
Additional info:
- I don't have a screenshot, because reloading happens really fast
- Browser console:
```
session heartbeat polling started
NotificationsApp.vue:497 Notifications permissions not yet requested
Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
main.js?ver=2024.9.0-1736600158517:14 INIT
init @ main.js?ver=2024.9.0-1736600158517:14
cryptpad-api.js:63 OUTER SENT QUERY GET_SESSION Object
send @ cryptpad-api.js:63
main.js?ver=2024.9.0-1736600158517:86 200
http.onreadystatechange @ main.js?ver=2024.9.0-1736600158517:86
cryptpad-api.js:63 OUTER SENT QUERY START Object
send @ cryptpad-api.js:63
main.js?ver=2024.9.0-1736600158517:156 INNER START Object
(anonymous) @ main.js?ver=2024.9.0-1736600158517:156
main.js?ver=2024.9.0-1736600158517:158 86823397b41a40b5a05cb6baf21c12e9
(anonymous) @ main.js?ver=2024.9.0-1736600158517:158
main.js?ver=2024.9.0-1736600158517:183 SAO REQUIRED
(anonymous) @ main.js?ver=2024.9.0-1736600158517:183
Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
sframe-boot.js?ver=1.6:46 Testing if CSP correctly blocks an 'eval' call
LessLoader.js?ver=2024.9.0-1736600158517:208 Compiling [/customize/src/less2/include/loading.less] took 3ms
LessLoader.js?ver=2024.9.0-1736600158517:208 Compiling [/customize/src/less2/include/loading.less] took 2ms
cryptpad-common.js?ver=2024.9.0-1736600158517:2790 Outer ready
cryptpad-common.js?ver=2024.9.0-1736600158517:2813 Posting CONNECT
LessLoader.js?ver=2024.9.0-1736600158517:208 Compiling [/diagram/app-diagram.less] took 12ms
cryptpad.opendesk.family/integration/#/2/integration/edit/WTWP4AVQoYW-kfFRqpybcneE/:1 Failed to fetch a worker script.
Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.
sframe-common.js?ver=2024.9.0-1736600158517:313 messenger is disabled
(anonymous) @ sframe-common.js?ver=2024.9.0-1736600158517:313
sframe-boot.js?ver=1.11:46 Testing if CSP correctly blocks an 'eval' call
app.min.js:11782 2025-02-28T17:44:52.828Z Loading plugins Array(1)
app.min.js:11782 2025-02-28T17:44:53.371Z App.start Array(2)
app.min.js:11782 2025-02-28T17:44:53.401Z EditorUi.installMessageHandler Array(1) evt Array(1) data Array(1)
app.min.js:11782 2025-02-28T17:44:53.402Z DrawioFile.setData Array(1) data Array(1)
app.min.js:11782 2025-02-28T17:44:53.451Z DrawioFile.setData Array(1) data Array(1)
LessLoader.js?ver=2024.9.0-1736600158517:208 Compiling [/customize/src/less2/include/loading.less] took 3ms
LessLoader.js?ver=2024.9.0-1736600158517:208 Compiling [/secureiframe/app-secure.less] took 24ms
index.html:1 Refused to load manifest from 'https://cryptpad.opendesk.family/components/drawio/src/main/webapp/images/manifest.json' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'manifest-src' was not explicitly set, so 'default-src' is used as a fallback.
common-util.js?ver=2024.9.0-1736600158517:90 event handler was already unregistered
app.min.js:11782 2025-02-28T17:45:40.887Z EditorUi.installMessageHandler [App] evt [MessageEvent] data [{…}]
app.min.js:11782 2025-02-28T17:45:40.888Z DrawioFile.setData [LocalFile] data ['
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.