[
https://issues.jboss.org/browse/GTNPORTAL-2358?page=com.atlassian.jira.pl...
]
RH Bugzilla Integration commented on GTNPORTAL-2358:
----------------------------------------------------
JBoss JIRA Server <jira-update(a)redhat.com> made a comment on [bug
794235|https://bugzilla.redhat.com/show_bug.cgi?id=794235]
Marek Posolda <mposolda(a)redhat.com> made a comment on jira GTNPORTAL-2358
I am adding new patch GTNPORTAL-2358-fullName.patch as previous patches can work only with
"displayName" support in OrganizationService API on interface User, which is not
option for now.
New patch is using fullName as temporary persistent field, so fullName is placeholder for
non-existing displayName. What exactly is done in patch is:
- Adding new UI field with name "displayName" to all UI forms, where you can
create or edit user ( UIRegisterInputSet, UIAccountProfiles, UIAccountInputSet,
UIAccountEditInputSet ). So name of UI field is "displayName" and name of
localization label is also "displayName". I added localizations only for
"en" and "cs" properties bundles as I don't know other languages
:)
- UI components are communicating with User interface via "setFullName" and
"getFullName". So fullName is now used as temporary placeholder until methods
"getDisplayName" and "setDisplayName" will be available in
Organization API. I added "TODO: GTNPORTAL-2358" in all pieces of code, which
needs to be changed once displayName will be available in Organization API. This will
allow us to use getDisplayName and setDisplayName and get rid of fullName as temporary
placeholder.
- IDM integration is changed to support persistent implementations of
"getFullName" and "setFullName". For this purpose I forked class
UserImpl from Organization API (I made a subclass of eXo UserImpl class with overriden
methods getFullName and setFullName). Again, name of new attribute at DB level is
"displayName", which will assure compatibility with future versions (after
support for displayName in Organization API will be added).
Adding new field displayName for User
-------------------------------------
Key: GTNPORTAL-2358
URL:
https://issues.jboss.org/browse/GTNPORTAL-2358
Project: GateIn Portal
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Identity integration, User Interface
Affects Versions: 3.2.0-CR01
Reporter: Marek Posolda
Assignee: Boleslaw Dawidowicz
Fix For: 3.2.0-GA
Attachments: GTNPORTAL-2358-exo.core.organization.api.patch,
GTNPORTAL-2358-fullName.patch, GTNPORTAL-2358-GateIn.patch
We have customers who would like to have editable "displayName" of user.
Currently what's displayed in right top corner after login of user is his fullName,
which is hardcoded as 'firstName lastName' . We had suggestions to add new
non-mandatory field displayName, which can be something similar like in Thunderbird
https://wiki.mozilla.org/Thunderbird:Help_Documentation:Using_the_Address...
. So user can fill displayName during his registration and it will be displayed in right
top corner in UIUserInfoPortlet. If user won't have displayName, it will fallback to
old behaviour and it will show fullName instead of it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira