Skip to content

Commit

Permalink
Fix:(2.39) Enrollment/Event notification in tracker app[DHIS2-18633]
Browse files Browse the repository at this point in the history
  • Loading branch information
zubaira committed Jan 16, 2025
1 parent ecdf3f1 commit 216f6a8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
import org.hisp.dhis.rules.models.RuleEffect;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

/**
*
Expand Down Expand Up @@ -86,6 +87,7 @@ public boolean accept(RuleAction ruleAction) {
}

@Override
@Transactional
public void implement(RuleEffect ruleEffect, ProgramInstance programInstance) {
NotificationValidationResult result = validate(ruleEffect, programInstance);

Expand All @@ -111,6 +113,7 @@ public void implement(RuleEffect ruleEffect, ProgramInstance programInstance) {
}

@Override
@Transactional
public void implement(RuleEffect ruleEffect, ProgramStageInstance programStageInstance) {
checkNotNull(programStageInstance, "ProgramStageInstance cannot be null");

Expand Down

0 comments on commit 216f6a8

Please sign in to comment.