Some conversationRoot lookups failed with deleted notices
This commit is contained in:
parent
118a4f56ab
commit
21a12a2f60
@ -1320,6 +1320,10 @@ class Notice extends Managed_DataObject
|
|||||||
}
|
}
|
||||||
} catch (NoParentNoticeException $e) {
|
} catch (NoParentNoticeException $e) {
|
||||||
// Latest notice has no parent
|
// 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
|
// No parent, or parent out of scope
|
||||||
$root = $last;
|
$root = $last;
|
||||||
|
Loading…
Reference in New Issue
Block a user