7.9 Upgrade fails if SuiteP is disabled, and breaks instance #3753
Labels
Priority:Critical
Issues & PRs that are critical; broken core functionality, fatal errors - there are no workarounds
Status:Fix Proposed
A issue that has a PR related to it that provides a possible resolution
Type:Bug
Bugs within the core SuiteCRM codebase
This is from a couple of issues in the forums, like this one. Thanks to user LISpeedyG.
Issue
Some people have disabled SuiteP theme in their instances, so that their users couldn't select the new theme. Sometimes this was a necessity because of theme-specific customizations, other times it was a matter of taste.
This seems to be possible with one of these ways (or both?):
In
config.php
something like this:In
config_override.php
something like this:Expected Behavior
SuiteCRM should re-enable the SuiteP theme and complete the upgrade successfully; or at the very least, give a proper error message asking the admin to go and enable the theme.
Actual Behavior
The upgrade is interrupted at the last stage of the Wizard, no error shown.
SuiteCRM is now broken, doesn't work at all, and it's hard to diagnose. Nothing relevant in the logs.
Steps to Reproduce
config.php
orconfig_override.php
Context
This is not easy to diagnose. It is not very serious for people who have a way to go back (backups, VM snapshots) but is highly critical for people who don't. On the other hand, it shouldn't be that common.
Your Environment
The text was updated successfully, but these errors were encountered: