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

AC-740 fixed NPE at syncedPatient activity #734

Merged
merged 1 commit into from
May 14, 2020
Merged

Conversation

LuGO0
Copy link
Collaborator

@LuGO0 LuGO0 commented May 11, 2020

Description of what I changed

SearchView takes up null value in dark mode of operation in absence of ActionBar,thus onCreateOptionsMenu never gets called so NPE was thrown.

Issue I worked on

JIRA Issue: https://issues.openmrs.org/browse/AC-740

Checklist: I completed these to help reviewers :)

  • My pull request only contains ONE single commit
    (the number above, next to the 'Commits' tab is 1).

  • I have added tests to cover my changes. (If you refactored
    existing code that was well tested you do not have to add tests)

  • All new and existing tests passed.

  • My pull request is based on the latest changes of the master branch.

@LuGO0 LuGO0 marked this pull request as ready for review May 11, 2020 10:05
Copy link
Contributor

@sanjulamadurapperuma sanjulamadurapperuma left a comment

Choose a reason for hiding this comment

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

Requested a change

openmrs-client/src/main/res/values/styles.xml Outdated Show resolved Hide resolved
@LuGO0
Copy link
Collaborator Author

LuGO0 commented May 12, 2020

@f4ww4z please review!!

Copy link
Collaborator

@f4ww4z f4ww4z left a comment

Choose a reason for hiding this comment

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

@LuGO0 Thanks, just small changes and confirmation needed here.

searchView takes up null value in dark mode of operation in absence of ActionBar,thus onCreateOptionsMenu never gets called
@codecov-io
Copy link

Codecov Report

Merging #734 into master will decrease coverage by 0.05%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #734      +/-   ##
==========================================
- Coverage   11.83%   11.78%   -0.06%     
==========================================
  Files         237      238       +1     
  Lines       10569    10615      +46     
  Branches     1017     1022       +5     
==========================================
  Hits         1251     1251              
- Misses       9237     9283      +46     
  Partials       81       81              
Impacted Files Coverage Δ
...ivities/syncedpatients/SyncedPatientsActivity.java 0.00% <0.00%> (ø)
...activities/dialog/CameraOrGalleryPickerDialog.java 0.00% <0.00%> (ø)
...ivities/addeditpatient/AddEditPatientFragment.java 0.00% <0.00%> (ø)
...patientdashboard/charts/PatientChartsFragment.java 0.00% <0.00%> (ø)
...patientdashboard/visits/PatientVisitsFragment.java 0.00% <0.00%> (ø)
...rs/mobile/activities/dialog/CustomDialogModel.java 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1ea0a43...3469d61. Read the comment docs.

Copy link
Collaborator

@f4ww4z f4ww4z left a comment

Choose a reason for hiding this comment

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

Looks good @LuGO0

@f4ww4z f4ww4z merged commit 9b2059b into openmrs:master May 14, 2020
@f4ww4z
Copy link
Collaborator

f4ww4z commented May 14, 2020

@LuGO0 Add the ticket id to the commit message next time.

@LuGO0
Copy link
Collaborator Author

LuGO0 commented May 14, 2020

Okay @f4ww4z Ill do that

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

Successfully merging this pull request may close these issues.

4 participants