Closed aditi-bhatia closed 4 weeks ago
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
App Name | Jetpack | |
Flavor | Jalapeno | |
Build Type | Debug | |
Version | pr20816-31615f5 | |
Commit | 31615f53b4368d69ef331e561d82233d3edbd136 | |
Direct Download | jetpack-prototype-build-pr20816-31615f5.apk |
App Name | WordPress | |
Flavor | Jalapeno | |
Build Type | Debug | |
Version | pr20816-31615f5 | |
Commit | 31615f53b4368d69ef331e561d82233d3edbd136 | |
Direct Download | wordpress-prototype-build-pr20816-31615f5.apk |
Fixes #20808
This PR adds null checks to
HistoryDetailContainerFragment.java
to address a NPE crash inmapRevisionModelsToRevisions()
. I have been unable to reproduce the crash myself but it occurs whencurrent
is null inrevisions.add(new Revision(current))
(line 195).To Test:
My Site -> Pages -> Click on a page -> Meatball menu -> History -> Click on a revision
Regression Notes
Potential unintended areas of impact
What I did to test those areas of impact (or what existing automated tests I relied on)
What automated tests I added (or what prevented me from doing so)
None
PR Submission Checklist:
RELEASE-NOTES.txt
if necessary.Testing Checklist (strike-out the not-applying and unnecessary ones):