-
There were two issues here:
- NPE was thrown for nonexistent users;
- there was an issue with additional
account_status
value that were not covered by enum in code (-5
);
Both issues are fixed now.
We have quite a lot of those "-5" accounts - Andrzej said they were Eric's form of banning the users. Maybe we should delete them?
mysql> select account_status,count(*) from tigasedb.tig_users group by account_status; +----------------+----------+ | account_status | count(*) | +----------------+----------+ | -5 | 233 | | -2 | 1 | | -1 | 108193 | | 0 | 2 | | 1 | 800 | +----------------+----------+ 5 rows in set (0.17 sec) mysql> select account_status,count(*) from tigaseim.tig_users group by account_status; +----------------+----------+ | account_status | count(*) | +----------------+----------+ | -5 | 150669 | | -2 | 328 | | -1 | 53 | | 0 | 80262 | | 1 | 144432 | +----------------+----------+ 5 rows in set (0.71 sec) mysql> select account_status,count(*) from jabberone.tig_users group by account_status; +----------------+----------+ | account_status | count(*) | +----------------+----------+ | -2 | 3 | | -1 | 17251 | | 1 | 3 | +----------------+----------+ 3 rows in set (0.04 sec)
Type |
Task
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.1.0
|
Spent time |
0
|
Issue Votes (0)
Watchers (0)
Stanza:
Log:
XML:
Log