Themes stop working if a child theme contains assets

Steps to reproduce:

  1. Create a new theme, and add some assets to it (for example, an image).
  2. Save this theme.
  3. Choose a different (parent) theme, and add the newly-created theme as a child to it.
  4. Observe that the parent theme no longer works at all.

This could cause issues with small “part” themes which need to be composed into larger ones to be useful. I ran into this creating a “Christmas hats” theme for December…

image image image

…which I had hoped to distribute here on Meta, as the lack of Christmas hats is clearly a very significant oversight in core Discourse functionality. :stuck_out_tongue:

4 Likes

Wasn’t this already reported @sam?

Reported here

4 Likes

seems to be a different bug than the one linked above

Good catch! This is fixed per:

https://github.com/discourse/discourse/commit/075a4584896897d10389b40fa345e45df043f641

Will look at deploying you later today!

6 Likes

This topic was automatically closed after 26 hours. New replies are no longer allowed.