User tests: Successful: Unsuccessful:
If the onUserBeforeSave event triggers an exception or JError then we should pick this up so we can set it in the JUser object
This allows the following kind of code:
$user = new JUser;
if (!$user->save)
{
$user->getError();
}
not at the moment :P frantically tidying room before guests arrive :P Literally you just need a plugin which returns false and sets a error in the dispatcher or throws an exception on the onUserBeforeSave event
Labels |
Removed:
?
|
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-03-15 01:06:00 |
I'll do it again another day :P
Csn you give us a plugin to test with ;) (lazy..)
You may blame the J!Tracker Application for transmitting this comment.