Commit 21a12a2f authored by mmn's avatar mmn

Some conversationRoot lookups failed with deleted notices

parent 118a4f56
......@@ -1320,6 +1320,10 @@ class Notice extends Managed_DataObject
}
} catch (NoParentNoticeException $e) {
// Latest notice has no parent
} catch (NoResultException $e) {
// Notice was not found, so we can't go further up in the tree.
// FIXME: Maybe we should do this in a more stable way where deleted
// notices won't break conversation chains?
}
// No parent, or parent out of scope
$root = $last;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment