Skip to content

Fix ee css bundles not loading

Thong Kuah requested to merge fix_prefer_specialized_assets_initializer into master

What does this MR do and why?

It turns out that prefer_specialized_assets intializer needs to be placed correctly. Otherwise when we add new initializers, it will be shifted and hence cause it to be executed too late (after we start accepting requests)

Related issue: #360202 (closed)

See #360202 (comment 920432529) for root cause analysis

To re-produce see the linked issue. It's hard to see any difference from the original bug report, so see below for another reproduction

Screenshots or screen recordings

We can see the EE CSS loading correctly by:

  1. Going to http://127.0.0.1:3000/groups/twitter/-/epic_boards
  2. Click Create list
  3. Click Select a label
Before With fix
Screen_Shot_2022-04-22_at_4.39.24_PM Screen_Shot_2022-04-22_at_4.41.53_PM

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Thong Kuah

Merge request reports

Loading