cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartedit issue 6.7

Former Member
0 Likes
1,651

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 ?

View Entire Topic
Former Member
0 Likes

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>