on ‎2018 Dec 17 3:25 PM
I just installed Smart edit in My local environment. I am getting user UID as NULL in the URL while selecting a Site.
The URL I am getting is as below;
localhost:9002/permissionswebservices/v1/permissions/principals/null/catalogs?catalogId=
Can anyone please help me to sort out this issue ?
Request clarification before answering.
issue fixed. It's an hybris bug. When creating the userData the only populator called is "displayUserNamePopulator" that's why the uid is not filled. You have to generate a new module from ysmarteditmodule and add the following code to solve it :
<alias name="<YourProjectName>DefaultAuthenticatedUserDataPopulatorList" alias="authenticatedUserDataPopulatorList" />
<bean id="<YourProjectName>DefaultAuthenticatedUserDataPopulatorList" parent="abstractPopulatorList">
<property name="populators">
<list>
<ref bean="displayUserNamePopulator"/>
<ref bean="smarteditUserUidPopulator"/>
</list>
</property>
</bean>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.