]
Trong Tran updated GTNPORTAL-3482:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 3.7.2.Final
3.9.0.Final
Resolution: Done
Deprecated class of UserImpl
----------------------------
Key: GTNPORTAL-3482
URL:
https://issues.jboss.org/browse/GTNPORTAL-3482
Project: GateIn Portal
Issue Type: Task
Security Level: Public(Everyone can see)
Reporter: Tuyen Nguyen The
Assignee: Tuyen Nguyen The
Priority: Minor
Fix For: 3.7.2.Final, 3.9.0.Final
*org.exoplatform.services.organization.idm.UserImpl* class was created in order to make a
workaround to display the *userName* if exist.
This class should be *deleted* in Gatein according to a *TODO* annotation mentioned in
top. In fact, the related issue *was fixed* in JCR 1.15, see:
https://issues.jboss.org/browse/EXOJCR-1780.
the correction was made into the class
*org.exoplatform.services.organization.impl.UserImpl* on method getFullName (responsible
for displaying the username)
{code:title=UserImpl.java|borderStyle=solid}
// wrapper method
public String getFullName()
{
return getDisplayName();
}
public String getDisplayName()
{
return displayName != null ? displayName : getFirstName() + " " +
getLastName();
}
{code}
So no need to *...organization.idm.UserImpl* class any more as the class
*org.exoplatform.services.organization.impl.UserImpl* was fixed.