DHIS2 2.36.3 showing “undefined” on ORG_UNIT_CODE(…) text pattern syntax on a Tracked Entity Attribute in the new capture app when registering new Tracked Entity Instance. The pattern syntax however shows correctly in the tracker capture app.
It looks like a frontend bug to me. The org unit code is undefined in the request to the api. Example:
Tracker capture app - api/trackedEntityAttributes/toW5WhWzZUM/generate?ORG_UNIT_CODE=OU_211225
Capture app - api/36/trackedEntityAttributes/toW5WhWzZUM/generate?ORG_UNIT_CODE=undefined&expiration=3
Thank you!