Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: plugin boundary retry if plugin logic is skipped [LIBS-633] #862

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

KaiVandivier
Copy link
Contributor

@KaiVandivier KaiVandivier commented Jul 8, 2024

Part of LIBS-633

I noticed a small bug: when clicking on the "Retry" button in the plugin error boundary in the App Wrapper, if skipPluginLogic is set in d2.config.js, the action can fail with the error clearPluginError is not a function -- here's a fix by checking if that prop exists before executing

Before:

plugin-error-before.mov

After:

plugin-error-after.mov

@KaiVandivier KaiVandivier requested review from tomzemp and a team July 8, 2024 11:42
@KaiVandivier KaiVandivier merged commit 01a3160 into master Jul 10, 2024
8 checks passed
@KaiVandivier KaiVandivier deleted the libs-633-fix-boundary-if-logic-skipped branch July 10, 2024 08:04
dhis2-bot added a commit that referenced this pull request Jul 10, 2024
## [11.6.2](v11.6.1...v11.6.2) (2024-07-10)

### Bug Fixes

* plugin boundary retry if plugin logic is skipped ([#862](#862)) ([01a3160](01a3160))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 11.6.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

3 participants