Bug
Tobject equality fuzzy due to domain classes
Issue description
It is posssible that two tobjects which represent the same topic return false on ==, because one has been fetched before any domain classes were registered for its type. And one has been loaded after.
Developer comments
This works now. A topic is represented by one and only one PHP object (an instance of Tobject) during one request.
One can write now:
[%require_once("domain/Person.php"); // holds "notify"
$me = Tobject::get("si:robert_cerny");
foreach (Tobject::all_persons() as $person) {
if ($person != $me) {
$person->notify("Some message which i already know");
}
}%]
|
Work sessions
Start |
2014-01-18T20:05:56
|
End |
2014-01-18T22:06:02
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.