Age | Commit message (Collapse) | Author | Files | Lines |
|
This reverts commit e7228676ce51bf69cc974fc0bd8f8135c51fd036.
|
|
While creating new objects, some default values (defined in the database
schema) are missing in the PHP object definition. To address this, now
while saving any *new* database objects, all undefined, expected fields
are set to the empty string "".
|
|
|
|
protected function exceptType added for use by subclasses to assert that
the database object loaded is the correct type and to protect against
cases like EG: passing the GUID for a group to new user(...); If a
problem is detected, throw an exception.
|
|
Various function (and their usages) in the table class have been updated
to be static class function.
|
|
|
|
Just use a generic exception in these cases. I don't want to handle
these any differently, and just fall back on the main Exception() error
page once we get to a UI.
|
|
|
|
|