Bug Denormalized username fields might be set incorrectly on imports

There is a bug in this version
K

Kirby

Guest
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...