foxmask / Booster

Booster of Jelix.Org : The Jelix repository of apps, modules, plugins, and language packs - roadmap
http://booster.jelix.org
4 stars 3 forks source link

Adding a version #34

Closed foxmask closed 12 years ago

foxmask commented 12 years ago

When we add an item it's ok then we go on the version page. then when we save it, the record is stored to the database but failed exactly line 67 of the booster class :

stack trace :

2012-03-04 23:24:37 127.0.0.1 error 2012-03-04 23:24:37 127.0.0.1 [403] Erreur dans la requête (Unknown column 'boo_items.item_id' in 'where clause'(INSERT INTO boo_versions ( /home/foxmask/Public/www_booster/lib/jelix/plugins/db/mysql/mysql.dbconnection.php 128 /version/save array ( 'module' => 'booster', 'action' => 'default:saveVersion', 'itemId' => '3', 'itemName' => 'demah', 'id' => ' ', 'item_id' => '3', 'item_by' => '1', 'JFORMS_TOKEN' => '56ace282cc2bd6d7a61e29f296552494', 'version_name' => '1.3.644', 'stability' => 'stable', 'id_jelix_version' => '1', 'filename' => 'truc.tar.gz', 'download_url' => 'http://localohst.com/toto.7z', 'last_changes' => 'okok', '_submit' => 'Ok', )

0 mysqlDbConnection->_doExec() /home/foxmask/Public/www_booster/lib/jelix/db/jDbConnection.class.php : 138 1 jDbConnection->exec() /home/foxmask/Public/www_booster/temp/booster/www/compiled/daos/modules/booster~boo_versions~mysql.php : 392 2 cDao_booster_Jx_boo_versions_Jx_mysql->insert() /home/foxmask/Public/www_booster/booster/modules/booster/classes/booster.class.php : 67 3 booster->saveVersion() /home/foxmask/Public/www_booster/booster/modules/booster/controllers/default.classic. php : 207 4 defaultCtrl->saveVersion() /home/foxmask/Public/www_booster/lib/jelix/core/jCoordinator.class.php : 205 5 jCoordinator->process() /home/foxmask/Public/www_booster/booster/www/index.php : 19

And i still dont understand why jelix tries to make a WHERE in an INSERT ... the stack trace is cut in the middle of the query :(

FlorianLB commented 12 years ago

i don't have this error... super weird

foxmask commented 12 years ago

made a new try it looks ok . i'll pull soon ;)