on 2020 Jan 23 10:40 AM
Hi,
for our project we needed to use the secureportaladdon, but we needed to modify the impex since by default they refer to the powertools.
We created our addon by extending secureportaladdon,
adding the extgen.properties file
modifying the extensioninfo.xml file with <meta key = "extgen-template-extension" value = "true" />
when we try to make a registration we have the following error
gen 21, 2020 5:56:00 PM org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: Servlet.service() for servlet [DispatcherServlet] in context with path [/mystorefront] threw exception [Request processing failed; nested exception is de.hybris.platform.servicelayer.exceptions.UnknownIdentifierException: Cannot find user with uid 'testRegister@test.it'] with root cause
de.hybris.platform.servicelayer.exceptions.UnknownIdentifierException: Cannot find user with uid 'testRegister@test.it'
at de.hybris.platform.servicelayer.user.impl.DefaultUserService.getUserForUID(DefaultUserService.java:95)
at de.hybris.platform.servicelayer.user.impl.DefaultUserService.getUserForUID(DefaultUserService.java:105)
at it.altea.my.workflows.actions.AbstractAutomatedWorkflowTemplateJob.getCustomer(AbstractAutomatedWorkflowTemplateJob.java:152)
at it.altea.my.workflows.actions.SendEmailAutomatedWorkflowTemplateJob.perform(SendEmailAutomatedWorkflowTemplateJob.java:60)
at de.hybris.platform.workflow.impl.DefaultWorkflowProcessingService.performAutomatedWorkflow(DefaultWorkflowProcessingService.java:122)
at de.hybris.platform.workflow.impl.DefaultWorkflowProcessingService.activate(DefaultWorkflowProcessingService.java:100)
at de.hybris.platform.workflow.impl.DefaultWorkflowProcessingService.startWorkflow(DefaultWorkflowProcessingService.java:230)
at it.altea.my.facades.impl.DefautB2BRegistrationWorkflowFacade.launchWorkflow(DefautB2BRegistrationWorkflowFacade.java:101)
at it.altea.my.facades.impl.DefaultB2BRegistrationFacade.register(DefaultB2BRegistrationFacade.java:178)
at it.altea.my.controllers.B2BRegistrationController.submitRegistration(B2BRegistrationController.java:93)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
the error is generated by the code statement
de.hybris.platform.servicelayer.user.impl.DefaultUserService.getUserForUID(DefaultUserService.java:95)
cannot find the user we are trying to register, the customer is saved as seen by the code
Does the user exist locally? It could be a provisioning or impex encoding issue, check all the user fields in backoffice to see if they are identical.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It looks like the user does not exist, can you verify with Backoffice? It is possible that the UID is slightly different due to a typo?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.