While I create an Attribute and select object type and save, I receive a success response.
When I re-open the attribute selection for the object types are gone.
Also I checked the db, attribute table when I am creating the Attributes, objecttypes column is having [ ] instead it should contain something like [“DATA_SET”, “PROGRAM”].
Is this an issue with certain object types or an issue in overall for all the object types or am I doing something wrong?
Below is the log for creation of attribute. It doesnt have field objecttypes
{“auditType":“CREATE”,“auditScope”:“METADATA”,“createdAt”:“2024-09-11T05:48:58.626229”,“createdBy”:“xyz_user”,“klass”:“org.hisp.dhis.attribute.Attribute”,“uid”:“RJHxTV20Azx”,“attributes”:{“uid”:“RJHxTV20Azx”,“attributeValues”:},“data”:{“uid”:“RJHxTV20Azx”,“lastUpdated”:“2024-09-11T05:48:58.607”,“lastUpdatedBy”:“YIdyurWe8ZD”,“createdBy”:“YIdyurWe8ZD”,“created”:“2024-09-11T05:48:58.607”,“valueType”:“BOOLEAN”,“unique”:false,“name”:“test attributes”,“sharing”:{“owner”:“YIdyurWe8ZD”,“external”:false,“users”:{},“userGroups”:{},“public”:“rw------”},“mandatory”:false}} (AbstractAuditConsumer.java [org.springframework.jms.JmsListenerEndpointContainer#3-1])
I am using DHIS 2.40.4.1.