Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

De-duplicate event handling to prevent errors on Draw-io - #8576

Merged
kulmann merged 1 commit into
owncloud:masterfrom
cernbox:up_drawio_load_bug
Mar 13, 2023
Merged

kulmann merged 1 commit into
owncloud:masterfrom
cernbox:up_drawio_load_bug

Conversation

@diocas

@diocas diocas commented Mar 9, 2023

Copy link
Copy Markdown
Contributor

If users navigated out of Draw-io and returned afterwards, old event handlers were kept, which failed trying to look for iframes that no longer existed.
This fix removes the handlers when exiting, preventing these user visible errors.

@ownclouders

ownclouders commented Mar 9, 2023 •

Copy link
Copy Markdown
Contributor

Results for acceptance oCIS https://drone.owncloud.com/owncloud/web/33573/55/1
💥 The oCISSharingBasic tests pipeline failed. The build has been cancelled.

@ownclouders

ownclouders commented Mar 9, 2023 •

Copy link
Copy Markdown
Contributor

Results for acceptance oC10 https://drone.owncloud.com/owncloud/web/33573/73/1
💥 The oC10IntegrationNotifications tests pipeline failed. The build has been cancelled.

@kulmann

kulmann commented Mar 13, 2023

Copy link
Copy Markdown
Contributor

@diocas could you rebase your PR please? Notifications acceptance tests have been removed in master.

@diocas
diocas force-pushed the up_drawio_load_bug branch from 4d1e8f8 to 8d84102 Compare March 13, 2023 14:05
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@kulmann
kulmann merged commit e66d876 into owncloud:master Mar 13, 2023
@micbar micbar mentioned this pull request May 3, 2023
53 of 89 tasks
@v-scharf v-scharf mentioned this pull request May 4, 2023
81 of 86 tasks
@tbsbdr tbsbdr mentioned this pull request Jun 30, 2023
37 tasks done
@tbsbdr tbsbdr added this to the CERN Web Merge milestone Jul 10, 2023
@diocas
diocas deleted the up_drawio_load_bug branch July 24, 2023 13:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants