Unable to save a SAML certificate in Clarity
STEPS TO REPRODUCE:
Expected Results: The certificate to be saved
Actual Results: Error message Invalid certificate or the certificate is not getting saved
Error message:
ERROR 2022-02-16 17:05:50,481 [https-openssl-nio2-443-exec-18] rest.validation (clarity:XXXXX:37907814__6FB575E0-2ECD-4FCA-9B5D-C611EC95D317:PPM_REST_API) ExceptionInfo :: Could not update resource. Resource name: certs. Error code: null Error message: Creating instance of: certificate
ERROR 2022-02-16 17:06:14,144 [https-openssl-nio2-443-exec-14] object.CustomObjectInstanceClass (clarity:XXXXX:37907814__6FB575E0-2ECD-4FCA-9B5D-C611EC95D317:PPM_REST_API) Exception on update
java.lang.StringIndexOutOfBoundsException: begin 167, end 110, length 264
Release: 16.0.0, 16.0.1
DE64107
Workaround (SQL Server):
ALTER TABLE CMN_SEC_CERTS ALTER COLUMN CERT_VALUE nvarchar(max)
Resolved in 16.0.2