870
872
notify(ObjectModifiedEvent(
871
873
bug, bug_before_modification, changed_fields))
874
876
return self._getSubscriptionDetails()
878
880
def _getSubscriptionDetails(self):
880
883
self.extractBugSubscriptionDetails(self.user, self.context.bug, cache)
882
895
cache, cls=ResourceJSONEncoder,
883
896
media_type=EntryResource.JSON_TYPE)
885
903
def _handlePrivacyChanged(self, user_will_be_subscribed):
886
904
"""Handle the case where the privacy of the bug has been changed.