The Policy Sets import in XUI ends with 500 Internal Server Error when there is a Resource Type without creationDate or lastModifiedDate LDAP attribute.
Such Resource Type can be created using ssoadm create-sub-cfg command and properties file with missing any of the mentioned attributes.
The Policy Sets import in XUI ends with 500 Internal Server Error when there is a Resource Type without
creationDate
orlastModifiedDate
LDAP attribute.Such Resource Type can be created using
ssoadm create-sub-cfg
command and properties file with missing any of the mentioned attributes.The import fails on following lines:
https://github.com/WrenSecurity/wrenam/blob/a5ffb936667582d2737fb6d41b9aa66cf0868da9/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/configuration/ResourceTypeConfigurationImpl.java#L278-L280
Reproducible example: