Skip to content

fix: deliveryChannels is not persisted#23592

Open
vietnguyen wants to merge 1 commit intomasterfrom
DHIS2-15969-43
Open

fix: deliveryChannels is not persisted#23592
vietnguyen wants to merge 1 commit intomasterfrom
DHIS2-15969-43

Conversation

@vietnguyen
Copy link
Copy Markdown
Contributor

https://dhis2.atlassian.net/browse/DHIS2-15969

Issue

  • ProgramNotificationTemplate.deliveryChannels is not persisted when user send POST request to api/metadata

Fix

  • There is a logic to calculate the delivery channels base on value type in ProgramNotificationTemplateObjectBundleHook however it doesn't fallback to the input data if the calculations return null.

Test

  • Added controller test.

@sonarqubecloud
Copy link
Copy Markdown

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.

1 participant