mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 10:26:28 +00:00
This commit extracts compose_views() from update_subscriptions_backend(), and it implements the correct behavior for forcing transactions to roll back, which is to raise an exception. There were really three steps in this commit: - Extract buggy code to compose_views(). - Add tests on compose_views(). - Fix bugs exposed by the new tests by converting errors to exceptions.
25 KiB
25 KiB