do we really have people that would tolerate to duplicate this with no consistency :-) ?
On Nov 4, 2010, at 8:57 AM, Boleslaw Dawidowicz wrote:
Yes, I agree that it need to be fixed. Was just saying that I need to
add some switch to be able to point back to firsName/lastName in already populated DBs.
On Nov 4, 2010, at 2:59 AM, Julien Viet wrote:
> I mean that we have two times the same values stored in the database.
>
> firstName and name.given
> lastName and familly.name
>
> which have the same meaning
>
> right ?
>
> On Nov 3, 2010, at 7:28 PM, Boleslaw Dawidowicz wrote:
>
>> What do you mean? I don't think we check the uniqueness of the full name.
>>
>> On Nov 3, 2010, at 3:47 PM, Julien Viet wrote:
>>
>>> can you tell me when there are two times the same firstName/lastName couple
which one is the authority ?
>>>
>>> On Nov 3, 2010, at 3:32 PM, Boleslaw Dawidowicz wrote:
>>>
>>>> This comes from the fact that firstName/lastName were previously not
persisted as part of user profile and this is the mapping from User interface setters.
Switch is fairly easy but to be consistent with previous deployments I guess some backward
compatible mode needs to be added.
>>>>
>>>> On Nov 2, 2010, at 12:23 PM, Julien Viet wrote:
>>>>
>>>>> Hi Bolek,
>>>>>
>>>>> I think today there is a missing feature in user profile handler
implementation that is reflected by this thread
http://community.jboss.org/thread/157717
and this JIRA
https://jira.jboss.org/browse/GTNPORTAL-1567 .
>>>>>
>>>>> I tried myself and also wrote this query for MySQL:
>>>>>
>>>>> select c.id,c.name,a.name,b.attr_value from jbid_io_attr a,
jbid_io_attr_text_values b, jbid_io c where a.attribute_id=b.text_attr_value_id and
c.id=a.identity_object_id and c.name='john'
>>>>>
>>>>> and it returns this table
>>>>>
>>>>> <Screen shot 2010-11-02 at 11.29.44 AM.png>
>>>>>
>>>>> I see in the code that the user profile handler makes a raw storage
of the JSR 286 attributes in the database and I think that they should be mappable to
specific attributes. At least we should be consistent and map firstName to user.name.given
and lastName to user.name.family.
>>>>>
>>>>> what do you think ?_______________________________________________
>>>>> gatein-dev mailing list
>>>>> gatein-dev(a)lists.jboss.org
>>>>>
https://lists.jboss.org/mailman/listinfo/gatein-dev
>>>>
>>>
>>
>