Project

General

Profile

Actions

Bug #8252

closed

Career cannot be created (1.10.4)

Added by Marko Kastelic over 7 years ago. Updated over 7 years ago.

Status:
Rejected - Abandoned
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
21/05/2016
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

main/admin/careers.php line 118

due to undefined value id sent to query ($values['id'] should be null or key 'id' should be omitted from $values)

log:
fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'id' at row 1'

...

#4 /usr/local/www/apache24/data/chamilo/main/inc/lib/career.lib.php(227): Model->save(Array) #5 /usr/local/www/apache24/data/chamilo/main/admin/careers.php(118): Career->save(Array) #6 {main} Next exception 'Doctrine\DBAL\Driver\PDOException' with m in /usr/local/www/apache24/data/chamilo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 115
Actions #1

Updated by Marko Kastelic over 7 years ago

same for creating promotions inside career:
chamilo/main/admin/promotions.php(145): General error: 1366 Incorrect integer value: '' for column 'id' at row 1

Actions #2

Updated by Marko Kastelic over 7 years ago

neither can create new session ... General error: 1366 Incorrect integer value: '' for column 'send_subscription_notification' . This value should be '0'.
Test on stable/unstable portal does not showing any mulfunctions. I'm using mysql server 5.7.12 /pdo_mysql 5.0.11 + mysqli(+nd) 5.0.11 + mysql 5.0.11 with php5.6.21 on freebsd 10.3-p3
a) does anybody else has any issue on similar platform (unices, not windows)
b) is it dbal (with pdo) used only for install or for db access in general (i'd like to perform some test on postgres in the future

Actions #3

Updated by Julio Montoya over 7 years ago

  • Status changed from New to Needs testing
  • Target version set to 1.10.6

this was already fixed in chamilo 1.10.6

Actions #4

Updated by Marko Kastelic over 7 years ago

Hi Julio. You are right. I missed the fix. I'm closing this one regarding session can not be created (still) on my platform. But this problem is probably on my side (missing DatePicker used by pear/html/QuickForm. I will open new issue for this if the problem persist on other platform too.

Actions #5

Updated by Marko Kastelic over 7 years ago

  • Status changed from Needs testing to Rejected - Abandoned
Actions

Also available in: Atom PDF