Affects Version/s: 5.2.2
Fix Version/s: None
I am unable to retrieve the Job Title from the user-attributes. I've added the user attribute to the portlet.xml as follows:
<description>User Job Title</description>
I tried using the following to retrieve the job title from the jsp and from the portlet
Map userInfo = (Map)renderRequest.getAttribute(PortletRequest.USER_INFO);
String jobTitle = (userInfo != null) ? (String)userInfo.get("user.jobtitle") : "";
I am able to retrieve other user-attributes, so I am pretty sure my code is ok. Also, I can get the job title from the Liferay user object, so I know the job title is there.