If items inside token is distinct of 2 show display name #28
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📌 References
⚙️ branches
app:
Origin: fix/with_correct_uid_in_pattern_and_worng_num_props_show_display_nam Target: develop-uio
dhis2-android-SDK:
Origin: develop-uio
dhis2-rule-engine:
Origin: android_2.0.1
🎩 What is the goal?
The goal is to unify prop part in the pattern, and if the pattern contains more of a property after DE uid then show the display name.
📝 How is it being implemented?
💥 How can it be tested?
Use case 1: - Configure the attribute {{UID}} in a program stage and display name should be shown as the title of the events for this program stage.
Use case 2: - Configure the attribute {{UID.name}} in a program stage and name should be shown as the title of the events for this program stage.
Use case 3: - Configure the attribute {{UID.code}} in a program stage and code should be shown as the title of the events for this program stage.
Use case 4: - Configure the attribute with error {{UID.code.name}} in a program stage and display name should be shown as the title of the events for this program stage ignoring the property.
💾 Requires DB migration?
🎨 UI changes?