Hi, we use fullstack-template-project as a base in our react application and after updating to the following version we get inicialization problem.
“@com.mgmtp.a12.dataservices/dataservices-access”: “32.1.0”,
“@com.mgmtp.a12.dataservices/dataservices-server-connector”: “32.1.0”,
“@com.mgmtp.a12.overview-engine/overview-engine-core”: “32.1.0”,
“@com.mgmtp.a12.uaa/uaa-authentication-client”: “3.1.0”,
“@com.mgmtp.a12.widgets/widgets-core”: “32.1.0”,
“@com.mgmtp.a12.widgets/widgets-styles”: “32.1.0”,
“@com.mgmtp.a12.workflows/workflows-client”: “6.1.0”,
“@com.mgmtp.a12/bap-client”: “10.2.0”,
“@com.mgmtp.a12/bap-form-engine”: “32.1.0”,
“@com.mgmtp.a12/connector”: “3.0.0”,
“@com.mgmtp.a12/kernel-core-runtime-api”: “25.0.0”,
“@com.mgmtp.a12/kernel-md-facade”: “25.0.0”,
“@com.mgmtp.a12/localization”: “3.0.0”,
“@com.mgmtp.a12/logging”: “3.0.0”,
“@com.mgmtp.a12/model-api”: “24.3.0”
Last call before error:
UAA/Serverrequest Request {method: “GET”, relativeUrl: “/uaa-authentication/currentUser”, customHeaders: Array(1)}
ConsoleStrategies.js?8048:138
Problem:
UAA/Restore Error on restoring the authentication state TypeError: _a.getState is not a function
at AuthorizationHeaderFilter.eval [as uaaSlice] (local.tsx?fad0:85)
at AuthorizationHeaderFilter.doRequestFilter (AuthorizationHeaderFilter.ts?95ea:36)
at FilterChain.startRequestFilter (FilterChain.ts?74db:46)
at RestServerConnector.eval (RestServerConnector.ts?00a7:85)
at step (RestServerConnector.js:33)
at Object.eval [as next] (RestServerConnector.js:14)
at eval (RestServerConnector.js:8)
at new Promise ()
at __awaiter (RestServerConnector.js:4)
at RestServerConnector.fetchData (RestServerConnector.ts?00a7:84)
How could I fix the issue?
Thank you in advance.
Regards,
Jozsef Dulai