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

[25.7] Fix ClassCastException caused by assuming editorFragment was a GutenbergEditorFragment #21667

Merged

Conversation

nbradbury
Copy link
Contributor

This PR includes the fix from #21665 but targets the release/25.7 branch.

…ergEditorFragment when it could be a GutenbergKitEditorFragment (for 25.7)
@nbradbury nbradbury requested a review from dcalhoun February 6, 2025 19:12
@nbradbury nbradbury added the Gutenberg Editing and display of Gutenberg blocks. label Feb 6, 2025
@dangermattic
Copy link
Collaborator

dangermattic commented Feb 6, 2025

1 Warning
⚠️ PR is not assigned to a milestone.

Generated by 🚫 Danger

Copy link

sonarqubecloud bot commented Feb 6, 2025

@nbradbury nbradbury marked this pull request as ready for review February 6, 2025 19:17
Copy link
Member

@dcalhoun dcalhoun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The crash no occurs when building this branch to device. 🎉 Thank you!

@nbradbury nbradbury enabled auto-merge (squash) February 6, 2025 19:21
@wpmobilebot
Copy link
Contributor

WordPress📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress WordPress
FlavorJalapeno
Build TypeDebug
Versionpr21667-7c459e0
Commit7c459e0
Direct Downloadwordpress-prototype-build-pr21667-7c459e0.apk
Note: Google Login is not supported on these builds.

@wpmobilebot
Copy link
Contributor

Jetpack📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack Jetpack
FlavorJalapeno
Build TypeDebug
Versionpr21667-7c459e0
Commit7c459e0
Direct Downloadjetpack-prototype-build-pr21667-7c459e0.apk
Note: Google Login is not supported on these builds.

@nbradbury nbradbury merged commit db90d60 into release/25.7 Feb 6, 2025
24 checks passed
@nbradbury nbradbury deleted the issue/21664-gutenberg-class-cast-exception-25.7 branch February 6, 2025 19:34
Copy link

codecov bot commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 40.00%. Comparing base (866eec8) to head (7c459e0).
Report is 1 commits behind head on release/25.7.

Additional details and impacted files
@@               Coverage Diff                @@
##           release/25.7   #21667      +/-   ##
================================================
+ Coverage         39.29%   40.00%   +0.71%     
================================================
  Files              2113     1546     -567     
  Lines             99208    71442   -27766     
  Branches          15279    11676    -3603     
================================================
- Hits              38980    28583   -10397     
+ Misses            56763    40383   -16380     
+ Partials           3465     2476     -989     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gutenberg Editing and display of Gutenberg blocks.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants