8000 fix: [ANDROAPP-6981] Incorrect display of greyed out fields by Balcan · Pull Request #4108 · dhis2/dhis2-android-capture-app · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: [ANDROAPP-6981] Incorrect display of greyed out fields #4108

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

Merged
merged 1 commit into from
Apr 10, 2025

Conversation

Balcan
Copy link
Collaborator
@Balcan Balcan commented Apr 10, 2025

Description

Please include a summary of the change and include the related jira issue if it exists.

[ jira issue ](https://dhis2.atlassian.net/browse/ANDROAPP-

Solution description

If this PR is a fix include a brief description on how the issue is solved.

Covered unit test cases

Describe the tests that you ran to verify your changes.

Where did you test this issue?

  • Smartphone Emulator
  • Tablet Emulator
  • Smartphone
  • Tablet

Which Android versions did you test this issue?

  • 4.4
  • 5.X - 6.X
  • 7.X
  • 8.X
  • 9.X - 10.X
  • 11.X - 13.X
  • Other

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code

@@ -332,7 +335,22 @@ internal class DataSetInstanceRepositoryImpl(
.uid(sectionUid)
.blockingGet()
?.greyedFields()
?.mapNotNull { it.dataElement()?.uid() }
?.mapNotNull {
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you think in a way to cover this fix by unit test to assert that specific fields are not editable?

Copy link

@xavimolloy xavimolloy merged commit df43db0 into release/3.2.0 Apr 10, 2025
4 checks passed
@xavimolloy xavimolloy deleted the ANDROAPP-6981 branch April 10, 2025 15:23
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.

3 participants
0