Topic: error when creating new user
Hi, good job. Ihave a feeling this has been spotted but i'll report it anyway.
When creating a new user, if you dont enter the password the appl throws an error. That's just a validation issue but thought i would point it anyway
Exception in PHP Script
/tst/tracmor-0.3.0/admin/user_account_edit.php PHP Version: 5.3.0; Zend Engine Version: 2.3.0; Qcodo Version: 0.3.32 (Qcodo Beta 3)
Application: Apache/2.2.11 (Win32) PHP/5.3.0; Server Name: localhost
HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
MySqli Error: Column 'password_hash' cannot be null
Exception Type: QMySqliDatabaseException
Rendered Page: Click here to view contents able to be rendered
Source File: C:\wamp\www\tst\tracmor-0.3.0\includes\data_classes\UserAccount.class.php Line: 65
Line 60: $this->CreationDate = new QDateTime(QDateTime::Now);
Line 61: }
Line 62: else {
Line 63: $this->ModifiedBy = QApplication::$objUserAccount->UserAccountId;
Line 64: }
Line 65: parent::Save($blnForceInsert, $blnForceUpdate);
Line 66: }
Line 67:
Line 68: public function __toStringWithLink() {
Line 69: return sprintf('<a href="user_account_edit.php?intUserAccountId=%s">%s</a>', $this->intUserAccountId, $this->__toString());
Line 70: }