Denormalized username fields might be set incorrectly on imports

Status
This content is read-only, or is not open for further replies.

Kirby

Guest
offline
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom