-
Notifications
You must be signed in to change notification settings - Fork 1.3k
CMM-1038 show error for corrupted reader deeplinks #22389
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
CMM-1038 show error for corrupted reader deeplinks #22389
Conversation
Generated by 🚫 Danger |
|
Claude finished @adalpari's task —— View job Comprehensive Code ReviewI've completed a thorough review of this PR that fixes corrupted Reader deeplink handling. Overall, the implementation is solid and addresses the issue effectively. Here's my detailed analysis: SummaryFix Overview: This PR adds proper error handling for corrupted or invalid feed/blog IDs in Reader deeplinks by introducing a new Changes: 5 files modified (+66/-13 lines) Code Quality ✅Strengths:
Issues Found:
Security ✅No security concerns identified:
Performance ✅Good performance characteristics:
Testing
|
WordPress/src/main/java/org/wordpress/android/ui/reader/ReaderPostListFragment.kt
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/reader/views/ReaderSiteHeaderView.java
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/reader/views/ReaderSiteHeaderView.java
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/reader/views/ReaderSiteHeaderView.java
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/reader/views/ReaderSiteHeaderView.java
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/reader/ReaderPostListActivity.kt
Show resolved
Hide resolved
|
| App Name | WordPress | |
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Version | pr22389-9f39a7e | |
| Commit | 9f39a7e | |
| Direct Download | wordpress-prototype-build-pr22389-9f39a7e.apk |
| private ReaderInterfaces.DataLoadedListener mDataLoadedListener; | ||
| private ReaderActions.DataRequestedListener mDataRequestedListener; | ||
| private ReaderSiteHeaderView.OnBlogInfoLoadedListener mBlogInfoLoadedListener; | ||
| private ReaderSiteHeaderView.OnBlogInfoFailedListener mBlogInfoFailedListener; |
Check notice
Code scanning / Android Lint
Nullable/NonNull annotation missing on field Note
|
| App Name | Jetpack | |
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Version | pr22389-9f39a7e | |
| Commit | 9f39a7e | |
| Direct Download | jetpack-prototype-build-pr22389-9f39a7e.apk |
I haven't touched that variable, but good catch! I'm fixing it
That's not true. Maybe Claude analyzed a draft commit? |
74e5199 to
350d358
Compare
|
Retargeted to |
|
nbradbury
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected and code looks good ![]()





Description
Fixes an issue where opening Reader deeplinks with corrupted or invalid feed IDs would show an empty blog screen instead of an error message.
Testing instructions
Test the following corrupted deeplink. They should show a "not found" error:
For regression, test the following valid ones:
Screen_recording_20251203_134513.mp4