Fixed Expired warning points show as active coming from vB 3.8

Affected version
2.1

beerForo

Well-known member
As stated, also for reference.
PS. Could you provide a fix, perhaps a new task that can be run? Thanks!
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.1.8).

Change log:
Handle rebuilding the active warning points in the User rebuild job.
There may be a delay before changes are rolled out to the XenForo Community.
 

Chris D

XenForo developer
Staff member
We've sort of killed two birds with one stone in this fix.

The User rebuild job (which runs for all users after import) now calculates the active warning points.

The underlying issue here was that we were setting the warning_points in XF to the same as vBulletin ipoints and then later on incrementing the warning_points again when we imported the individual warnings or infractions.

We now just recalculate it in the job based on what warnings are in the XF database.

You can also run that manually for all users after import by running the users rebuild in Tools > Rebuild caches.

Note: This is fixed in XF 2.1.8 rather than Importers.
 

beerForo

Well-known member
Running the user cache rebuild fixes, thanks.

Expired, still had 1. Now:
"Warning points: 0 Total warnings: 1"
 
Last edited:
Top