WoltLab/WCF — Issue #391: UserStorageHandler sometimes does not properly save the storage
Author: TimWolla
Created: 2012-01-21 18:13:15+00:00
State: open

```
Fatal error: Uncaught exception 'wcf\system\database\DatabaseException' with message 'Could not execute prepared statement: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-lastSeen-16' for key 'userStorageData'' in /data/webroot/wcf/wcf2/lib/system/database/statement/PreparedStatement.class.php:102
Stack trace:
#0 /data/webroot/wcf/wcf2/lib/system/user/storage/UserStorageHandler.class.php(194): wcf\system\database\statement\PreparedStatement->execute(Array)
#1 /data/webroot/wcf/wcf2/lib/system/WCF.class.php(147): wcf\system\user\storage\UserStorageHandler->shutdown()
#2 [internal function]: wcf\system\WCF::destruct()
#3 {main}
thrown in /data/webroot/wcf/wcf2/lib/system/database/statement/PreparedStatement.class.php on line 102
```