By Jordan Weinstein on Wednesday, 09 April 2014
Posted in Technical Issues
Likes 0
Views 791
Votes 0
Hello,

I migrated a Jomsocial community to EasySocial. The migration seemed to go well except in the user profile, the Joomla username appears in the EasySocial First Name field. I see in the EasySocial user manager that Joomla full name is present. But in the users profile, the name appears nowhere and instead, the username occupies the first name slot. I realize that Joomla stores the full name in one field, but I would wonder if in EasySocial the full Joomla name could appear in the first name rather than the Joomla username. Users could update their profile accordingly afterwards.

Jordan
Thanks Sam. I love you guys.
·
Thursday, 10 April 2014 22:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jordan,

There is no way for EasySocial to determine which is the last name / first name Hence, we always resort in storing into the first name of the name field.
·
Wednesday, 09 April 2014 23:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark,

Understood. But what I don't understand is why EasySocial selects the Joomla username to be migrated in to the First Name field rather than both first name and last name - i.e. the entire Joomla Name.

Jordan
·
Wednesday, 09 April 2014 23:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jordan,

Hm, not sure if I understand you here. EasySocial doesn't migrate first / last name from Joomla. It migrates the "Name". There's no "first name" or "last name" in Joomla
·
Wednesday, 09 April 2014 23:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Sorry, let me clarify.

When I migrated from Jomsocial to Easysocial the Joomla username was mapped in to the Easysocial firstname field (see screen shot):

https://www.dropbox.com/s/rg1d7uqcb8zy85g/Screenshot%202014-04-09%2011.44.39.png

In this example, the Joomla username is ukadmin and the user's full name is Jordan Weinstein (me). I would think that 'Jordan Weinstein' should be mapped in to the first name field rather than the username. I didn't change any of the suggested mappings in the Jomsocial migration.

Jordan
·
Wednesday, 09 April 2014 23:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jordan,

Hm, okay then that is wrong because username should be left as username and not the name. Since the migration, was there any changes made on the site? I could clear off the data of EasySocial and try to re-run the migration again
·
Wednesday, 09 April 2014 23:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

No changes were made after the migration. I can clear all the ES tables and try again.

Jordan
·
Wednesday, 09 April 2014 23:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Great, that would be super! After you clear the tables and clean it up, do not migrate it first. Let us try to perform migration for you. I would need to have the following access:

1. Phpmyadmin
2. Joomla admin
3. FTP access
·
Thursday, 10 April 2014 00:01
·
0 Likes
·
0 Votes
·
0 Comments
·
OK, I was testing on a localhost.

After the initial EasySocial install, the users full name correctly appears in the name field in easy social default profile.

However, after the Jomsocial migration however, the username appears in the first name field as above in the migrated Jomsocial profile. So it seems this is is an issue with the Jomsocial migration not the routine EasySocial migration of Joomla users.

Jordan
·
Thursday, 10 April 2014 00:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Are you testing this on 1.2.7 Jordan? By the way, can you also do a print screen of the field mapping?
·
Thursday, 10 April 2014 00:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I am testing with 1.2.7

I have moved online and included the site details below. You can try a migration if you wish. If there is a code change required to get this to work, can you let me know so I can use on our live site.

Site details added to this post. The url of EasySocial's homepage profile edit is: community/profile/edit

Jordan
·
Thursday, 10 April 2014 01:41
·
0 Likes
·
0 Votes
·
0 Comments
·
In addition to the site details provided in my last post, I can confirm this seems to be a bug which I reproduced on another Joomla/Jomsocial installation testing with ES 1.2.7
·
Thursday, 10 April 2014 06:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Jordan,

I am sorry for the delay of this reply.

First of all, thanks for setting up a test site for us. Now back to your issue

The issue actually just a simple mis-configuration of User's name display format option. Please see http://screencast.com/t/IHDP8aIZyY8V

What happen is, your JomSocial do not have the name field. So when EasySocial created a default profile for JomSocial, EasySocial added a joomla_fullname field. Since JomSocial do no have the name field, after the migration, when you viewing / edit the user, you see the username as 'first name'. This is because EasySocial need to fetch a value and show to user. Thus, based on the name format setting, EasySocial pull the value accordingly. ( in this case, the username ).

I've re-configured your name display format to 'real name' and I then run the migration and migrate JomSocial fields and one of your user (ukadmin). Now the firstname is displayed correctly.
Please see http://screencast.com/t/Vduv6kG8SAc

So all you need to do to fix this issue on your live site and to change the name display format

Hope this help and have a nice day
Sam
·
Thursday, 10 April 2014 17:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Jordan Glad that your issues are resolved now
·
Thursday, 10 April 2014 22:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post