Skip to content

Ghost admin should not error if the currently active theme is missing. #5155

@ErisDS

Description

@ErisDS

If you try to start Ghost and access the admin panel when the currently active theme is not present in the content/themes directory, the following error is thrown

The admin panel should function 100% without a theme present, so that you can change theme to one that is present. This is a regression.

The frontend should show the error "The currently active theme casper is missing.", this also appears to have lost some styling.

Steps to Reproduce

  1. Run Ghost at least once
  2. Stop Ghost, remove the active theme
  3. Start Ghost, try to access /ghost/ to change the theme

Technical details:

  • Ghost Version: master

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug[triage] something behaving unexpectedly

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions