Opened 3 years ago
Closed 3 years ago
#1528 closed Defect (fixed)
exception not being thrown in ElggUser constructor
| Reported by: | cash | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Elgg 1.7 |
| Component: | Core | Version: | Github Master |
| Severity: | minor | Keywords: | |
| Cc: | brettp | Difficulty: |
Description
Just noticed this when doing something else. Line 90 in current svn of users.php:
else if (is_numeric($guid)) {
if (!$this->load($guid)) {
IOException(sprintf(elgg_echo('IOException:FailedToLoadGUID'), get_class(), $guid));
}
}
Same with groups and objects
Change History (2)
comment:1 Changed 3 years ago by brettp
- Milestone changed from Elgg 1.8 to Elgg 1.7
comment:2 Changed 3 years ago by brettp
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

(In [svn:3968]) Fixes #1528: Correctly throwing exceptions for objects, groups, and users.