discourse/app
David Taylor d3751c70c9
FIX: Ensure error handlers render correctly without preload_json (#17696)
Some errors (e.g. InvalidAccess) are rendered with `include_ember: true`. Booting the ember app requires that the 'preload' data is rendered in the HTML.

If a particular route was configured to `skip_before_action :preload_json`, and then went on to raise an InvalidAccess error, then we'd attempt to render the Ember app without the preload json. This led to a blank screen and a client-side error.

This commit ensures that error pages will fallback to the no_ember view if there is no preload data. It also adds a sanity check in `discourse-bootstrap` so that it's easier for us to identify similar errors in future.
2022-07-27 22:29:13 +01:00
..
assets FIX: Ensure error handlers render correctly without preload_json (#17696) 2022-07-27 22:29:13 +01:00
controllers FIX: Ensure error handlers render correctly without preload_json (#17696) 2022-07-27 22:29:13 +01:00
helpers DEV: Remove development cache-buster query parameter (#17444) 2022-07-12 11:53:59 +01:00
jobs FIX: Publish membership update events when refreshing automatic groups. (#17668) 2022-07-27 11:34:08 -03:00
mailers FEATURE: Custom unsubscribe options (#17090) 2022-06-21 15:49:47 -03:00
models FIX: Publish membership update events when refreshing automatic groups. (#17668) 2022-07-27 11:34:08 -03:00
serializers DEV: Introduce SiteSetting to enable/disable Sidebar. (#17662) 2022-07-27 13:42:26 +08:00
services DEV: Introduce SiteSetting to enable/disable Sidebar. (#17662) 2022-07-27 13:42:26 +08:00
views FEATURE: revamped wizard (#17477) 2022-07-27 06:53:01 +05:30