Validation rule doesn't appear

Hello CoP,

DHIS2 version = 2.36

We noticed that validation rules list does’nt appear anymore in Maintenance app, while they are in the database (see bellow screenshot).

We tried to retrieve them with the api and postman but we get the same result

The API

/api/29/validationRules?filter=name:ne:default&fields=displayName,shortName,id,lastUpdated,created,displayDescription,code,publicAccess,access,href,level,displayName,importance,periodType,publicAccess,lastUpdated,&order=displayName:ASC

Result

{
    "pager": {
        "page": 1,
        "pageCount": 1,
        "total": 0,
        "pageSize": 50
    },
    "validationRules": []
}

Some VR in the database

NB : There are no errors in the logs nor in the web console.

Regards.

Hi @didate

Unfortunately I can’t debug older versions at this point nor would it help because this appears to be something that is fixed in later versions of DHIS2 since I can’t reproduce the issue in any of the play.dhis2.org instances.

Hello @Gassim , thank you for your message.

The issue has been fixed by restarting the server (not only the DHIS2 Instance).

Regards