-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Validate search scope when scheduled event [DHIS2-17335][2.39] (#…
…19460) * fix: Validate search scope when scheduled event [DHIS2-17335][2.39] * fix: Use PSI to figure out if creatable in search scope [DHIS2-17335][2.39]
- Loading branch information
Showing
3 changed files
with
71 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...ntegration/src/test/resources/tracker/validations/events-scheduled-with-registration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"events": [ | ||
{ | ||
"event": "ZwwuwNp6gVd", | ||
"status": "SCHEDULE", | ||
"program": { | ||
"idScheme": "UID", | ||
"identifier": "E8o1E9tAppy" | ||
}, | ||
"programStage": { | ||
"idScheme": "UID", | ||
"identifier": "Qmqxq907VNz" | ||
}, | ||
"enrollment": "MNWZ6hnuhSw", | ||
"orgUnit": { | ||
"idScheme": "UID", | ||
"identifier": "QfUVllTs6cS" | ||
}, | ||
"orgUnitName": "TA org_unit lvl2", | ||
"scheduledAt": "2019-08-19T13:59:13.688", | ||
"storedBy": "admin", | ||
"deleted": false, | ||
"attributeOptionCombo": { | ||
"idScheme": "UID", | ||
"identifier": "HllvX50cXC0" | ||
} | ||
} | ||
] | ||
} |