RSS Feed/News Denormalized username fields might be set incorrectly on imports

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
27,537
Points
823

Reputation:

Throughout the importer code (XFI, XFMG, etc.) there are many places where denorrmalized usernames are set like this:

Example: Conversation message import from vBulletin
PHP:

$import->set('username', $message['fromusername'], [EntityEmulator::UNHTML_ENTITIES => true]);

This sets the username from source system data but the XenForo username might be different, for example if accounts have been merged or a rename due to a conflict was necessary.

Suggested Fix
If the username...

Read more

Continue reading...
 
Status
Not open for further replies.
Top