[4.1 Beta 3] Renaming or merging user accounts leads to various issues with wiki revision contributors
Below is a handful of behaviours I've witnessed as a result of renaming and merging user accounts in the XF2 admin cp for testing purposes.
When a username is renamed:
Approval queue: Username is not updated in the XF2 approval queue for wiki contributions, UNLESS that user also has core content awaiting approval (e.g. thread post). When their core content is approved, the approval queue wiki items change back to their old username.
Vwpage .vw-list-contributors: 'Last updated by' username is not updated to new username.
Area .vw-content-list-update: Username is not updated.
When a user is merged with another user, wiki contributions are not reassociated with the destination account:
Approval queue: Username and avatar are hidden, user id changed to 0.
Vwpage .vw-list-contributors: Username and user id refer to the deleted (merged) account, 404 error when attempting to show member tooltip.
Area .vw-content-list-update: Username and user id refer to the deleted (merged) account, 404 error when attempting to show member tooltip.
Area .vw-content-list-contribs: User shows as "Guest" in content lists.
Special:Contributions?userid=x no results for merged user (Merged/deleted user contributions are not shown). Edit: Destination user hasn't edited the wiki, but merged (deleted) user has.
XF2 latest activity: news feed item is missing any username, e.g.:
Fixed in the next release. This was caused by VaultWiki's user-merge and user-rename related functions not being implemented under XenForo 2.
Users merged after upgrading should have their wiki-related data upgraded correctly. Users merged before upgrading cannot be fixed since the source data is already gone.
Thanks, I have briefly tested user merges under VW4.1 Beta 4 b004. For the most part things look good.
Although, I did discover that merged user username and user id are not updated for a page's most recent update event on the Area page list (vw-content-list-update). It has updated in vw-content-list-contribs.
On the page itself, the "Last updated by: x" list (vw-list-contributors) correctly displays the merged username and userid. Page version history username/userid is also correct.
We will need to make some changes for content-list last-update fields in the database, since this information is not stored in a way that could be easily updated without unpacking every row individually first.
Fixed last-update in the next release. New columns vw_lastupdate.lastuserid and vw_lastupdate.lastusername store the user information for the user that performed the update in a way that is easily handled by user renames and merges.
This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.