Details
-
Improvement
-
Resolution: Won't Do
-
Major
-
None
-
4.1
-
None
Description
Currently, if no filter chain is available, we end up with ugly NPEs.
If the /server/filters node is not available at all, we could for instance instanciate rootFilter as some sort of filter that lets Magnolia start and give the user a chance to fix the installation.
Another issue is that activation is obviously broken if the filter configuration is broken. The following scenario needs to be taken into account:
- filters broken on author
- user decides to delete the filter nodes and reimport a backup. If not careful (and if we still have the deletion=immediate deactivation), the filters are also removed from the public instance.
- if the import succeeds (which will probably need a restart anyway for the filters to be reinitialized), the imported configuration still can't be activated to the public instance(s), since those have no filters - thus no activation filter.
TODO - there are related issues, link and/or fix them !
Checklists
Acceptance criteria