-
Notifications
You must be signed in to change notification settings - Fork 1.3k
WordPress.com News images don't show in the reader #21713
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
Conversation
Generated by 🚫 Danger |
|
App Name | ![]() |
|
Flavor | Jalapeno | |
Build Type | Debug | |
Version | pr21713-059da6b | |
Commit | 059da6b | |
Direct Download | wordpress-prototype-build-pr21713-059da6b.apk |
|
App Name | ![]() |
|
Flavor | Jalapeno | |
Build Type | Debug | |
Version | pr21713-059da6b | |
Commit | 059da6b | |
Direct Download | jetpack-prototype-build-pr21713-059da6b.apk |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## trunk #21713 +/- ##
=======================================
Coverage 39.41% 39.41%
=======================================
Files 2122 2122
Lines 99570 99570
Branches 15324 15324
=======================================
Hits 39247 39247
Misses 56844 56844
Partials 3479 3479 ☔ View full report in Codecov by Sentry. |
|
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.
Testing plan succeeded for me. Changes look sound.
Fixes #21709
In the issue it was noted that featured images from WordPress.com News failed to appear in the reader detail. In researching the problem, it turned out these images don't appear in the reader list or photo viewer either.
Logcat showed this whenever loading a featured image:
It seems that WordPress.com News images do a 301 (permanent) redirect, and our
CustomRedirectInterceptor
failed to close the previous response here before proceeding with the redirect. Correcting this fixed the problem with WordPress.com News images.It should be noted that
CustomRedirectInterceptor
is used in more places than just the reader so there is a possibility of unintended consequences, but I left this PR in draft for several days and noticed no issues while testing. My assumption is this likely also fixes similar issues elsewhere in the app. Note that I P2'd about this at paqN3M-1oQ-p2 but received no feedback.To test:
Note: Right now featured images aren't shown edge-to-edge. This will be handled separately.