WoltLab/com.woltlab.wcf.label — Issue #14: I18n broken
Author: TimWolla
Created: 2012-02-04 20:47:50+00:00
State: open

```
Fatal error: Could not execute prepared statement: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'languageCategoryID' cannot be null
Information:
error message: Could not execute prepared statement: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'languageCategoryID' cannot be null
error code: 23000
sql type: wcf\system\database\MySQLDatabase
sql error: Column 'languageCategoryID' cannot be null
sql error number: 23000
sql version: 5.1.58-1ubuntu1
sql query: INSERT INTO	wcf1_language_item (languageID, languageItem, languageItemValue, languageItemOriginIsSystem, languageCategoryID, packageID) VALUES	(?, ?, ?, ?, ?, ?)
sql query parameter 0:1
sql query parameter 1:wcf.acp.label.label2
sql query parameter 2:asdasd
sql query parameter 3:0
sql query parameter 4:
sql query parameter 5:13
file: /data/webroot/wcf/wcf2/lib/system/database/statement/PreparedStatement.class.php (102)
php version: 5.3.6-13ubuntu3.3
wcf version: 2.0.0 Alpha 1 (Maelstrom)
date: Sat, 04 Feb 2012 20:46:06 +0000
request: /wbb/wbb4/acp/index.php/LabelAdd/?s=9b1f9957c86806781a5a78f63bd6fbbc4d788fb9
referer: http://127.0.0.1/dummy/app/acp/index.php/LabelAdd/?s=9b1f9957c86806781a5a78f63bd6fbbc4d788fb9
Stacktrace:
#0 /data/webroot/wcf/wcf2/lib/system/language/I18nHandler.class.php(215): wcf\system\database\statement\PreparedStatement->execute(Array)
#1 /data/webroot/wcf/wcf2/lib/acp/form/LabelAddForm.class.php(127): wcf\system\language\I18nHandler->save('label', 'wcf.acp.label.l...', 'wcf.acp.label', '13')
#2 /data/webroot/wcf/wcf2/lib/form/AbstractForm.class.php(44): wcf\acp\form\LabelAddForm->save()
#3 /data/webroot/wcf/wcf2/lib/form/AbstractForm.class.php(89): wcf\form\AbstractForm->submit()
#4 /data/webroot/wcf/wcf2/lib/acp/form/LabelAddForm.class.php(157): wcf\form\AbstractForm->readData()
#5 /data/webroot/wcf/wcf2/lib/page/AbstractPage.class.php(133): wcf\acp\form\LabelAddForm->readData()
#6 /data/webroot/wcf/wcf2/lib/acp/form/ACPForm.class.php(32): wcf\page\AbstractPage->show()
#7 /data/webroot/wcf/wcf2/lib/page/AbstractPage.class.php(56): wcf\acp\form\ACPForm->show()
#8 /data/webroot/wcf/wcf2/lib/system/request/Request.class.php(58): wcf\page\AbstractPage->__construct()
#9 /data/webroot/wcf/wcf2/lib/system/request/RequestHandler.class.php(38): wcf\system\request\Request->execute()
#10 /data/webroot/dummy/app/acp/index.php(10): wcf\system\request\RequestHandler->handle('app', true)
#11 {main}
```