Symptoms

GDPR is not working after the upgrade to CloudBlue Commerce 20.5.


In an attempt to delete a user using Product > Data Protection > Search Users, the following message is visible 

Entity not found. The account/person you are looking for never existed or is completely removed from databases

In an attempt to delete user #1, the following error appears

RequestError: Unable to load /aps/2/resources/c0b93504-462c-4fb4-9576-de3892dd7b33/info?id=1002183&type=staff_member status: 500
com.ingrammicro.imcp.library.aps.exception.APSInvocationException: Incorrect Response from APS Controller '404 - Not Found', Status Code is '404'


GDPR pod log shows:

06-06-2021;08:20:11,853 TRACE [uispan:9172704e-d111-4a9e-a640-ac8e444b74f0 application-rest:task-2:200 a8n-gdpr] c.i.i.l.components.trace.Tracer - TRACE FINISH APS CLIENT GET https://10.10.120.20:6308/aps/2/resources/95dbd0f9-4b26-42c4-86d4-d5517024ae7a/userInfo
06-06-2021;08:20:11,855 WFLYEJB0034: EJB Invocation failed on component APSClientCustom for method public abstract java.lang.Object com.odin.aps.api.APSClientCustom.get(com.ingrammicro.imcp.library.aps.api.APS2Path,java.lang.String,java.lang.Class,java.util.Map,java.lang.String,java.util.Map): javax.ejb.EJBTransactionRolledbackException: com.ingrammicro.imcp.library.aps.exception.APSInvocationException: Incorrect Response from APS Controller '<html><head><title>Error</title></head><body>404 - Not Found</body></html>', Status Code is '404'
... Caused by: javax.ejb.EJBException: com.ingrammicro.imcp.library.aps.exception.APSInvocationException: Incorrect Response from APS Controller '<html><head><ti tle>Error</title></head><body>404 - Not Found</body>

Cause

GDPR is supported by the Exchange APS application. 

The exchange-war module was not deployed in WildFly after upgrade to CB Commerce 20.5 as mention in the KB-article https://cloudblue.freshdesk.com/a/solutions/articles/44002171293


Resolution

Redeploy exchange-war.war on Management Node

python /usr/local/pem/ExchangeApplication/scripts/configure.py --include-steps=endpoint --war /usr/local/pem/ExchangeApplication/exchange-war.war

Internal

Internal link